Title: [106905] trunk/Source/WebCore
Revision
106905
Author
loi...@chromium.org
Date
2012-02-06 21:45:01 -0800 (Mon, 06 Feb 2012)

Log Message

Unreviewed. Web Inspector: rename Artificial to Synthetic according to v8 patch r10614.

* inspector/front-end/DetailedHeapshotGridNodes.js:
* inspector/front-end/HeapSnapshot.js:
(WebInspector.HeapSnapshotNode.prototype.get isSynthetic):
(WebInspector.HeapSnapshot.prototype._init):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (106904 => 106905)


--- trunk/Source/WebCore/ChangeLog	2012-02-07 05:44:19 UTC (rev 106904)
+++ trunk/Source/WebCore/ChangeLog	2012-02-07 05:45:01 UTC (rev 106905)
@@ -1,3 +1,12 @@
+2012-02-06  Ilya Tikhonovsky  <loi...@chromium.org>
+
+        Unreviewed. Web Inspector: rename Artificial to Synthetic according to v8 patch r10614.
+
+        * inspector/front-end/DetailedHeapshotGridNodes.js:
+        * inspector/front-end/HeapSnapshot.js:
+        (WebInspector.HeapSnapshotNode.prototype.get isSynthetic):
+        (WebInspector.HeapSnapshot.prototype._init):
+
 2012-02-06  Hayato Ito  <hay...@chromium.org>
 
         Implement querySelector on ShadowRoot.

Modified: trunk/Source/WebCore/inspector/front-end/DetailedHeapshotGridNodes.js (106904 => 106905)


--- trunk/Source/WebCore/inspector/front-end/DetailedHeapshotGridNodes.js	2012-02-07 05:44:19 UTC (rev 106904)
+++ trunk/Source/WebCore/inspector/front-end/DetailedHeapshotGridNodes.js	2012-02-07 05:45:01 UTC (rev 106905)
@@ -404,7 +404,7 @@
         var showHiddenData = WebInspector.settings.showHeapSnapshotObjectsHiddenProperties.get();
         var filter = "function(edge) {\n" +
             "    return !edge.isInvisible\n" +
-            "        && (" + !this.showRetainingEdges + " || (edge.node.id !== 1 && !edge.node.isArtificial))\n" +
+            "        && (" + !this.showRetainingEdges + " || (edge.node.id !== 1 && !edge.node.isSynthetic))\n" +
             "        && (" + showHiddenData + " || (!edge.isHidden && !edge.node.isHidden));\n" +
             "}\n";
         if (tree.showRetainingEdges)

Modified: trunk/Source/WebCore/inspector/front-end/HeapSnapshot.js (106904 => 106905)


--- trunk/Source/WebCore/inspector/front-end/HeapSnapshot.js	2012-02-07 05:44:19 UTC (rev 106904)
+++ trunk/Source/WebCore/inspector/front-end/HeapSnapshot.js	2012-02-07 05:45:01 UTC (rev 106905)
@@ -566,9 +566,9 @@
         return this._type() === this._snapshot._nodeHiddenType;
     },
 
-    get isArtificial()
+    get isSynthetic()
     {
-        return this._type() === this._snapshot._nodeArtificialType;
+        return this._type() === this._snapshot._nodeSyntheticType;
     },
 
     get isDOMWindow()
@@ -711,7 +711,7 @@
         this._firstEdgeOffset = meta.fields.indexOf("children");
         this._nodeTypes = meta.types[this._nodeTypeOffset];
         this._nodeHiddenType = this._nodeTypes.indexOf("hidden");
-        this._nodeArtificialType = this._nodeTypes.indexOf("artificial");
+        this._nodeSyntheticType = this._nodeTypes.indexOf("synthetic");
         var edgesMeta = meta.types[this._firstEdgeOffset];
         this._edgeFieldsCount = edgesMeta.fields.length;
         this._edgeTypeOffset = edgesMeta.fields.indexOf("type");
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to