Title: [152542] trunk/Source/WebCore
Revision
152542
Author
[email protected]
Date
2013-07-10 13:31:41 -0700 (Wed, 10 Jul 2013)

Log Message

Web Inspector: "Always enable" profiling does not work
https://bugs.webkit.org/show_bug.cgi?id=118487

Enable profiler when loading panel if profiler is enabled in inspector
settings.

Patch by Arnaud Renevier <[email protected]> on 2013-07-10
Reviewed by Timothy Hatcher.

* inspector/front-end/ProfilesPanel.js:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (152541 => 152542)


--- trunk/Source/WebCore/ChangeLog	2013-07-10 19:30:59 UTC (rev 152541)
+++ trunk/Source/WebCore/ChangeLog	2013-07-10 20:31:41 UTC (rev 152542)
@@ -1,3 +1,15 @@
+2013-07-10  Arnaud Renevier  <[email protected]>
+
+        Web Inspector: "Always enable" profiling does not work
+        https://bugs.webkit.org/show_bug.cgi?id=118487
+
+        Enable profiler when loading panel if profiler is enabled in inspector
+        settings.
+
+        Reviewed by Timothy Hatcher.
+
+        * inspector/front-end/ProfilesPanel.js:
+
 2013-07-09  Roger Fong  <[email protected]>
 
         HTMLPluginElement's state should be Playing before firing mouse click event.

Modified: trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js (152541 => 152542)


--- trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js	2013-07-10 19:30:59 UTC (rev 152541)
+++ trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js	2013-07-10 20:31:41 UTC (rev 152542)
@@ -392,7 +392,7 @@
     this._profileViewStatusBarItemsContainer = document.createElement("div");
     this._profileViewStatusBarItemsContainer.className = "status-bar-items";
 
-    this._profilerEnabled = !Capabilities.profilerCausesRecompilation;
+    this._profilerEnabled = !Capabilities.profilerCausesRecompilation || WebInspector.settings.profilerEnabled.get();
 
     if (singleProfileMode) {
         this._launcherView = this._createLauncherView();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to