Unreviewed build fix; partial roll out of r205365 to remove unintentional change...
authorjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Sep 2016 21:23:43 +0000 (21:23 +0000)
committerjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Sep 2016 21:23:43 +0000 (21:23 +0000)
* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _initializeWithConfiguration:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@205371 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm

index 9fa8cdd..6659f9a 100644 (file)
@@ -1,3 +1,10 @@
+2016-09-02  Jer Noble  <jer.noble@apple.com>
+
+        Unreviewed build fix; partial roll out of r205365 to remove unintentional change in WKWebView.mm.
+
+        * UIProcess/API/Cocoa/WKWebView.mm:
+        (-[WKWebView _initializeWithConfiguration:]):
+
 2016-09-02  Joseph Pecoraro  <pecoraro@apple.com>
 
         Web Inspector: If inspector process crashes, re-inspecting the page does not work
index 4a4d2d9..a228a19 100644 (file)
@@ -544,6 +544,8 @@ static uint32_t convertSystemLayoutDirection(NSUserInterfaceLayoutDirection dire
         _page->setApplicationNameForUserAgent(applicationNameForUserAgent);
 
     _navigationState = std::make_unique<WebKit::NavigationState>(self);
+    _page->setNavigationClient(_navigationState->createNavigationClient());
+
     _uiDelegate = std::make_unique<WebKit::UIDelegate>(self);
     _page->setFindClient(std::make_unique<WebKit::FindClient>(self));
     _page->setDiagnosticLoggingClient(std::make_unique<WebKit::DiagnosticLoggingClient>(self));