Title: [124220] trunk/Tools
Revision
124220
Author
[email protected]
Date
2012-07-31 10:42:46 -0700 (Tue, 31 Jul 2012)

Log Message

[WK2] Kill the concept of secondary shared process
https://bugs.webkit.org/show_bug.cgi?id=92676

Reviewed by Sam Weinig.

* MiniBrowser/win/BrowserView.cpp: (BrowserView::create): Update Windows build fix.
Don't create a new context for every view.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (124219 => 124220)


--- trunk/Tools/ChangeLog	2012-07-31 17:26:50 UTC (rev 124219)
+++ trunk/Tools/ChangeLog	2012-07-31 17:42:46 UTC (rev 124220)
@@ -1,3 +1,13 @@
+2012-07-31  Alexey Proskuryakov  <[email protected]>
+
+        [WK2] Kill the concept of secondary shared process
+        https://bugs.webkit.org/show_bug.cgi?id=92676
+
+        Reviewed by Sam Weinig.
+
+        * MiniBrowser/win/BrowserView.cpp: (BrowserView::create): Update Windows build fix.
+        Don't create a new context for every view.
+
 2012-07-31  Peter Beverloo  <[email protected]>
 
         [Chromium] Don't use ninja for building Chromium for Android

Modified: trunk/Tools/MiniBrowser/win/BrowserView.cpp (124219 => 124220)


--- trunk/Tools/MiniBrowser/win/BrowserView.cpp	2012-07-31 17:26:50 UTC (rev 124219)
+++ trunk/Tools/MiniBrowser/win/BrowserView.cpp	2012-07-31 17:42:46 UTC (rev 124220)
@@ -87,8 +87,10 @@
     WKContextRef context;
     if (isShiftKeyDown)
         context = WKContextGetSharedThreadContext();
-    else
-        context = WKContextCreate();
+    else {
+        static WKContextRef sharedRegularContext = WKContextCreate();
+        context = sharedRegularContext;
+    }
 
     m_webView = WKViewCreate(webViewRect, context, 0, parentWindow->window());
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to