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: https://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 a6bdc775969749dd242c1311eae8c3ef1b4bf087..d6ccac60cf722850f8e90bac45e0d0ffb25405fc 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 6a7b6ca33e4c8f19675bdbaf30823907ba5b8aa1..9fc1ece830f7a328849f8b69b22e6c52a7fab252 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 4d06dbd876e91977d3b5962312a21e841f744989..31fc6099c57ad1bb801b1c299334e9ef6e60e522 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");