Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: LayoutTests/inspector/profiler/heap-snapshot-test.js

Issue 356843008: Fix private member access violations in profiler module (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed apavlov's comments Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/profiler/heap-snapshot-test.js
diff --git a/LayoutTests/inspector/profiler/heap-snapshot-test.js b/LayoutTests/inspector/profiler/heap-snapshot-test.js
index 221a2c29c1863acdffaff9ee246348530d1539dc..eb774438a9388c0da276d58910fefb4465fc1954 100644
--- a/LayoutTests/inspector/profiler/heap-snapshot-test.js
+++ b/LayoutTests/inspector/profiler/heap-snapshot-test.js
@@ -29,14 +29,14 @@ InspectorTest.createJSHeapSnapshotMockObject = function()
// b\ v /
// -> B (6) -bd- D (12)
//
- _nodes: new Uint32Array([
+ nodes: new Uint32Array([
0, 0, 2, // 0: root
1, 1, 2, // 3: A
1, 2, 2, // 6: B
1, 3, 1, // 9: C
1, 4, 0, // 12: D
1, 5, 0]), // 15: E
- _containmentEdges: new Uint32Array([
+ containmentEdges: new Uint32Array([
2, 6, 3, // 0: shortcut 'a' to node 'A'
1, 7, 6, // 3: property 'b' to node 'B'
0, 1, 6, // 6: element '1' to node 'B'
@@ -44,7 +44,7 @@ InspectorTest.createJSHeapSnapshotMockObject = function()
1, 9, 9, // 12: property 'bc' to node 'C'
1, 10, 12, // 15: property 'bd' to node 'D'
1, 11, 15]),// 18: property 'ce' to node 'E'
- _strings: ["", "A", "B", "C", "D", "E", "a", "b", "ac", "bc", "bd", "ce"],
+ strings: ["", "A", "B", "C", "D", "E", "a", "b", "ac", "bc", "bd", "ce"],
_firstEdgeIndexes: new Uint32Array([0, 6, 12, 18, 21, 21, 21]),
createNode: WebInspector.JSHeapSnapshot.prototype.createNode,
createEdge: WebInspector.JSHeapSnapshot.prototype.createEdge,
« no previous file with comments | « LayoutTests/inspector/profiler/heap-snapshot.html ('k') | Source/devtools/front_end/profiler/CPUProfileBottomUpDataGrid.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698