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

Unified Diff: LayoutTests/inspector/profiler/heap-snapshot.html

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
« no previous file with comments | « no previous file | LayoutTests/inspector/profiler/heap-snapshot-test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/profiler/heap-snapshot.html
diff --git a/LayoutTests/inspector/profiler/heap-snapshot.html b/LayoutTests/inspector/profiler/heap-snapshot.html
index 7cc03c4ccc6af57fb5f91767d6abcdf44fcfded4..f1590d238115049f9c9541ec9acf26faebc2546a 100644
--- a/LayoutTests/inspector/profiler/heap-snapshot.html
+++ b/LayoutTests/inspector/profiler/heap-snapshot.html
@@ -322,7 +322,7 @@ function test()
}
var allNodeIndexes = [];
- for (var i = 0; i < snapshot._nodes.length; i += snapshot._nodeFieldCount)
+ for (var i = 0; i < snapshot.nodes.length; i += snapshot._nodeFieldCount)
allNodeIndexes.push(i);
var provider = new WebInspector.HeapSnapshotNodesProvider(snapshot, nodeFilter, allNodeIndexes);
// Sort by names in reverse order.
@@ -371,8 +371,8 @@ function test()
loader.write(sourceStringified.slice(i, i + partSize));
loader.close();
var result = loader.buildSnapshot(false);
- result._nodes = new Uint32Array(result._nodes);
- result._containmentEdges = new Uint32Array(result._containmentEdges);
+ result.nodes = new Uint32Array(result.nodes);
+ result.containmentEdges = new Uint32Array(result.containmentEdges);
function assertSnapshotEquals(reference, actual)
{
InspectorTest.assertEquals(JSON.stringify(reference), JSON.stringify(actual));
« no previous file with comments | « no previous file | LayoutTests/inspector/profiler/heap-snapshot-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698