Title: [127448] trunk/Source/WebCore
Revision
127448
Author
[email protected]
Date
2012-09-04 01:53:31 -0700 (Tue, 04 Sep 2012)

Log Message

Web Inspector: new CPU Profiles are not shown after reattach
https://bugs.webkit.org/show_bug.cgi?id=95686

Reviewed by Vsevolod Vlasov.

* inspector/InspectorProfilerAgent.cpp:
(WebCore::InspectorProfilerAgent::restore): set m_headersRequested flags
to true and clear all profiles on the front-end since there are no
collected profiles yet immediately after render process sitching.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (127447 => 127448)


--- trunk/Source/WebCore/ChangeLog	2012-09-04 08:39:43 UTC (rev 127447)
+++ trunk/Source/WebCore/ChangeLog	2012-09-04 08:53:31 UTC (rev 127448)
@@ -1,3 +1,15 @@
+2012-09-04  Yury Semikhatsky  <[email protected]>
+
+        Web Inspector: new CPU Profiles are not shown after reattach
+        https://bugs.webkit.org/show_bug.cgi?id=95686
+
+        Reviewed by Vsevolod Vlasov.
+
+        * inspector/InspectorProfilerAgent.cpp:
+        (WebCore::InspectorProfilerAgent::restore): set m_headersRequested flags
+        to true and clear all profiles on the front-end since there are no
+        collected profiles yet immediately after render process sitching.
+
 2012-09-04  Ilya Tikhonovsky  <[email protected]>
 
         Web Inspector: NMI: cosmetic change, rename m_domMemoryUsage to m_memoryInstrumentation.

Modified: trunk/Source/WebCore/inspector/InspectorProfilerAgent.cpp (127447 => 127448)


--- trunk/Source/WebCore/inspector/InspectorProfilerAgent.cpp	2012-09-04 08:39:43 UTC (rev 127447)
+++ trunk/Source/WebCore/inspector/InspectorProfilerAgent.cpp	2012-09-04 08:53:31 UTC (rev 127448)
@@ -349,6 +349,7 @@
     restoreEnablement();
 
     // Revisit this.
+    m_headersRequested = true;
     resetFrontendProfiles();
     if (m_state->getBoolean(ProfilerAgentState::userInitiatedProfiling))
         start();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to