Title: [113631] trunk/Source/WebCore
Revision
113631
Author
[email protected]
Date
2012-04-09 15:14:03 -0700 (Mon, 09 Apr 2012)

Log Message

Fix the assertion in PageScriptDebugServer::didPause.

https://webkit.org/b/82943

Reviewed by Simon Fraser.

* bindings/js/PageScriptDebugServer.cpp:
(WebCore::PageScriptDebugServer::PageScriptDebugServer): Initialize m_pausedPage
to zero so the assert in didPause will not randomly fire the first time.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (113630 => 113631)


--- trunk/Source/WebCore/ChangeLog	2012-04-09 22:05:25 UTC (rev 113630)
+++ trunk/Source/WebCore/ChangeLog	2012-04-09 22:14:03 UTC (rev 113631)
@@ -1,3 +1,15 @@
+2012-04-09  Timothy Hatcher  <[email protected]>
+
+        Fix the assertion in PageScriptDebugServer::didPause.
+
+        https://webkit.org/b/82943
+
+        Reviewed by Simon Fraser.
+
+        * bindings/js/PageScriptDebugServer.cpp:
+        (WebCore::PageScriptDebugServer::PageScriptDebugServer): Initialize m_pausedPage
+        to zero so the assert in didPause will not randomly fire the first time.
+
 2012-04-09  Tim Horton  <[email protected]>
 
         FrameData constructor zeroes all fields, causing ImageOrientation to be 0

Modified: trunk/Source/WebCore/bindings/js/PageScriptDebugServer.cpp (113630 => 113631)


--- trunk/Source/WebCore/bindings/js/PageScriptDebugServer.cpp	2012-04-09 22:05:25 UTC (rev 113630)
+++ trunk/Source/WebCore/bindings/js/PageScriptDebugServer.cpp	2012-04-09 22:14:03 UTC (rev 113631)
@@ -69,6 +69,7 @@
 
 PageScriptDebugServer::PageScriptDebugServer()
     : ScriptDebugServer()
+    , m_pausedPage(0)
 {
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to