Title: [103176] trunk/Source/WebCore
Revision
103176
Author
loi...@chromium.org
Date
2011-12-18 07:24:30 -0800 (Sun, 18 Dec 2011)

Log Message

Web Inspector: chromium profiler: change default root type for retaining paths from GC Roots to DOMWindow.
https://bugs.webkit.org/show_bug.cgi?id=74697

Reviewed by Pavel Feldman.

* inspector/front-end/DetailedHeapshotView.js:
(WebInspector.DetailedHeapshotView.prototype.get isTracingToWindowObjects):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (103175 => 103176)


--- trunk/Source/WebCore/ChangeLog	2011-12-18 15:13:08 UTC (rev 103175)
+++ trunk/Source/WebCore/ChangeLog	2011-12-18 15:24:30 UTC (rev 103176)
@@ -1,3 +1,13 @@
+2011-12-18  Ilya Tikhonovsky  <loi...@chromium.org>
+
+        Web Inspector: chromium profiler: change default root type for retaining paths from GC Roots to DOMWindow.
+        https://bugs.webkit.org/show_bug.cgi?id=74697
+
+        Reviewed by Pavel Feldman.
+
+        * inspector/front-end/DetailedHeapshotView.js:
+        (WebInspector.DetailedHeapshotView.prototype.get isTracingToWindowObjects):
+
 2011-12-18  Peter Rybin  <peter.ry...@gmail.com>
 
         Web Inspector: Switch to type-safe JSON ConsoleMessage.cpp, InspectorDOMAgent.cpp, InspectorDebuggerAgent.cpp, ScriptCallFrame.cpp

Modified: trunk/Source/WebCore/inspector/front-end/DetailedHeapshotView.js (103175 => 103176)


--- trunk/Source/WebCore/inspector/front-end/DetailedHeapshotView.js	2011-12-18 15:13:08 UTC (rev 103175)
+++ trunk/Source/WebCore/inspector/front-end/DetailedHeapshotView.js	2011-12-18 15:24:30 UTC (rev 103176)
@@ -621,8 +621,8 @@
     toGCRootsTraceOption.label = WebInspector.UIString("to GC roots");
     var toWindowObjectsTraceOption = document.createElement("option");
     toWindowObjectsTraceOption.label = WebInspector.UIString("to window objects");
+    this.retainingPathsRoot.appendChild(toWindowObjectsTraceOption);
     this.retainingPathsRoot.appendChild(toGCRootsTraceOption);
-    this.retainingPathsRoot.appendChild(toWindowObjectsTraceOption);
     retainingPathsTitleDiv.appendChild(retainingPathsTitle);
     retainingPathsTitleDiv.appendChild(this.retainingPathsRoot);
     this.retainmentViewHeader.appendChild(retainingPathsTitleDiv);
@@ -1117,7 +1117,7 @@
 
     get isTracingToWindowObjects()
     {
-        return this.retainingPathsRoot.selectedIndex === 1;
+        return this.retainingPathsRoot.selectedIndex === 0;
     },
 
     get _isShowingAsPercent()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to