Title: [153482] trunk/Source/WebKit2
Revision
153482
Author
[email protected]
Date
2013-07-30 11:28:35 -0700 (Tue, 30 Jul 2013)

Log Message

Page for WKPageLoaderClient processDidCrash callback always reports a process identifier of 0
https://bugs.webkit.org/show_bug.cgi?id=119269
<rdar://problem/14582393>

Reviewed by Anders Carlsson.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::processIdentifier):
Return 0 if the page is closed instead of requiring isValid().

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (153481 => 153482)


--- trunk/Source/WebKit2/ChangeLog	2013-07-30 17:40:09 UTC (rev 153481)
+++ trunk/Source/WebKit2/ChangeLog	2013-07-30 18:28:35 UTC (rev 153482)
@@ -1,3 +1,15 @@
+2013-07-30  Jeff Miller  <[email protected]>
+
+        Page for WKPageLoaderClient processDidCrash callback always reports a process identifier of 0
+        https://bugs.webkit.org/show_bug.cgi?id=119269
+        <rdar://problem/14582393>
+
+        Reviewed by Anders Carlsson.
+
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::processIdentifier):
+        Return 0 if the page is closed instead of requiring isValid().
+
 2013-07-30  Kwang Yul Seo  <[email protected]>
 
         [WK2] Move the implementation of WebEditorClient::checkTextOfParagraph to WebEditorClient.cpp

Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp (153481 => 153482)


--- trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp	2013-07-30 17:40:09 UTC (rev 153481)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp	2013-07-30 18:28:35 UTC (rev 153482)
@@ -376,7 +376,7 @@
 
 PlatformProcessIdentifier WebPageProxy::processIdentifier() const
 {
-    if (!isValid())
+    if (m_isClosed)
         return 0;
 
     return m_process->processIdentifier();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to