Title: [204293] trunk/Source/WebKit/win
Revision
204293
Author
pvol...@apple.com
Date
2016-08-09 13:59:16 -0700 (Tue, 09 Aug 2016)

Log Message

[Win] Crash in MiniBrowser.
https://bugs.webkit.org/show_bug.cgi?id=160686

Reviewed by Sam Weinig.

We need to specify a plugin info provider object in the page configuration.

* WebView.cpp:
(WebView::initWithFrame):

Modified Paths

Diff

Modified: trunk/Source/WebKit/win/ChangeLog (204292 => 204293)


--- trunk/Source/WebKit/win/ChangeLog	2016-08-09 20:33:08 UTC (rev 204292)
+++ trunk/Source/WebKit/win/ChangeLog	2016-08-09 20:59:16 UTC (rev 204293)
@@ -1,3 +1,15 @@
+2016-08-09  Per Arne Vollan  <pvol...@apple.com>
+
+        [Win] Crash in MiniBrowser.
+        https://bugs.webkit.org/show_bug.cgi?id=160686
+
+        Reviewed by Sam Weinig.
+
+        We need to specify a plugin info provider object in the page configuration.
+
+        * WebView.cpp:
+        (WebView::initWithFrame):
+
 2016-08-09  Anders Carlsson  <ander...@apple.com>
 
         Fix build.

Modified: trunk/Source/WebKit/win/WebView.cpp (204292 => 204293)


--- trunk/Source/WebKit/win/WebView.cpp	2016-08-09 20:33:08 UTC (rev 204292)
+++ trunk/Source/WebKit/win/WebView.cpp	2016-08-09 20:59:16 UTC (rev 204293)
@@ -67,6 +67,7 @@
 #include "WebMutableURLRequest.h"
 #include "WebNotificationCenter.h"
 #include "WebPlatformStrategies.h"
+#include "WebPluginInfoProvider.h"
 #include "WebPreferences.h"
 #include "WebResourceLoadScheduler.h"
 #include "WebScriptWorld.h"
@@ -2938,6 +2939,7 @@
     configuration.progressTrackerClient = static_cast<WebFrameLoaderClient*>(configuration.loaderClientForMainFrame);
     configuration.userContentProvider = &m_webViewGroup->userContentController();
     configuration.visitedLinkStore = &m_webViewGroup->visitedLinkStore();
+    configuration.pluginInfoProvider = &WebPluginInfoProvider::singleton();
 
     m_page = new Page(WTFMove(configuration));
     provideGeolocationTo(m_page, new WebGeolocationClient(this));
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to