Unreviewed. Web Inspector: rename Artificial to Synthetic according to v8 patch r10614.
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Feb 2012 05:45:01 +0000 (05:45 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Feb 2012 05:45:01 +0000 (05:45 +0000)
* inspector/front-end/DetailedHeapshotGridNodes.js:
* inspector/front-end/HeapSnapshot.js:
(WebInspector.HeapSnapshotNode.prototype.get isSynthetic):
(WebInspector.HeapSnapshot.prototype._init):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106905 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/DetailedHeapshotGridNodes.js
Source/WebCore/inspector/front-end/HeapSnapshot.js

index a6bdc77..d6ccac6 100644 (file)
@@ -1,3 +1,12 @@
+2012-02-06  Ilya Tikhonovsky  <loislo@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  <hayato@chromium.org>
 
         Implement querySelector on ShadowRoot.
index 6a7b6ca..9fc1ece 100644 (file)
@@ -404,7 +404,7 @@ WebInspector.HeapSnapshotObjectNode.prototype = {
         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)
index 4d06dbd..31fc609 100644 (file)
@@ -566,9 +566,9 @@ WebInspector.HeapSnapshotNode.prototype = {
         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 @@ WebInspector.HeapSnapshot.prototype = {
         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");