Title: [129250] trunk/Source/WebKit2
- Revision
- 129250
- Author
- [email protected]
- Date
- 2012-09-21 13:32:18 -0700 (Fri, 21 Sep 2012)
Log Message
[WK2] Make Web Inspector work in multiple web process mode
https://bugs.webkit.org/show_bug.cgi?id=97354
Reviewed by Timothy Hatcher.
* UIProcess/mac/WebInspectorProxyMac.mm: (WebKit::WebInspectorProxy::platformCreateInspectorPage):
Tell WKView that it's related to original page, making inspector page be in the same process.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (129249 => 129250)
--- trunk/Source/WebKit2/ChangeLog 2012-09-21 20:16:45 UTC (rev 129249)
+++ trunk/Source/WebKit2/ChangeLog 2012-09-21 20:32:18 UTC (rev 129250)
@@ -1,3 +1,13 @@
+2012-09-21 Alexey Proskuryakov <[email protected]>
+
+ [WK2] Make Web Inspector work in multiple web process mode
+ https://bugs.webkit.org/show_bug.cgi?id=97354
+
+ Reviewed by Timothy Hatcher.
+
+ * UIProcess/mac/WebInspectorProxyMac.mm: (WebKit::WebInspectorProxy::platformCreateInspectorPage):
+ Tell WKView that it's related to original page, making inspector page be in the same process.
+
2012-09-21 Carlos Garcia Campos <[email protected]>
[GTK] Implement ViewState methods in PageClientImpl in WebKit2
Modified: trunk/Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm (129249 => 129250)
--- trunk/Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm 2012-09-21 20:16:45 UTC (rev 129249)
+++ trunk/Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm 2012-09-21 20:32:18 UTC (rev 129250)
@@ -185,7 +185,7 @@
ASSERT(m_page);
ASSERT(!m_inspectorView);
- m_inspectorView.adoptNS([[WKWebInspectorWKView alloc] initWithFrame:NSMakeRect(0, 0, initialWindowWidth, initialWindowHeight) contextRef:toAPI(page()->process()->context()) pageGroupRef:toAPI(inspectorPageGroup())]);
+ m_inspectorView.adoptNS([[WKWebInspectorWKView alloc] initWithFrame:NSMakeRect(0, 0, initialWindowWidth, initialWindowHeight) contextRef:toAPI(page()->process()->context()) pageGroupRef:toAPI(inspectorPageGroup()) relatedToPage:toAPI(m_page)]);
ASSERT(m_inspectorView);
[m_inspectorView.get() setDrawsBackground:NO];
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes