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

Unified Diff: tracing/tracing/ui/analysis/memory_dump_vm_regions_details_pane_test.html

Issue 2162963002: [polymer] Merge of master into polymer10-migration (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Merge polymer10-migration int polymer10-merge Created 4 years, 5 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: tracing/tracing/ui/analysis/memory_dump_vm_regions_details_pane_test.html
diff --git a/tracing/tracing/ui/analysis/memory_dump_vm_regions_details_pane_test.html b/tracing/tracing/ui/analysis/memory_dump_vm_regions_details_pane_test.html
index 9c79c1b5753b54b6b9e3272f626aea4af46088f1..abfd3b5c81ee4b5adb137a4654b6624d2f03158f 100644
--- a/tracing/tracing/ui/analysis/memory_dump_vm_regions_details_pane_test.html
+++ b/tracing/tracing/ui/analysis/memory_dump_vm_regions_details_pane_test.html
@@ -40,8 +40,8 @@ tr.b.unittest.testSuite(function() {
var process = model.getOrCreateProcess(1);
// First timestamp.
- var gmd1 = addGlobalMemoryDump(model, 42, DETAILED);
- var pmd1 = addProcessMemoryDump(gmd1, process, 42);
+ var gmd1 = addGlobalMemoryDump(model, {ts: 42, levelOfDetail: DETAILED});
+ var pmd1 = addProcessMemoryDump(gmd1, process, {ts: 42});
pmd1.vmRegions = VMRegionClassificationNode.fromRegions([
VMRegion.fromDict({
mappedFile: '/lib/chrome.so',
@@ -111,12 +111,13 @@ tr.b.unittest.testSuite(function() {
// This is here so that we could test that tracing is discounted from the
// 'Native heap' category.
pmd1.memoryAllocatorDumps = [
- newAllocatorDump(pmd1, 'tracing', { size: 500, resident_size: 32 })
+ newAllocatorDump(pmd1, 'tracing',
+ {numerics: {size: 500, resident_size: 32}})
];
// Second timestamp.
- var gmd2 = addGlobalMemoryDump(model, 42, DETAILED);
- var pmd2 = addProcessMemoryDump(gmd2, process, 42);
+ var gmd2 = addGlobalMemoryDump(model, {ts: 42, levelOfDetail: DETAILED});
+ var pmd2 = addProcessMemoryDump(gmd2, process, {ts: 42});
pmd2.vmRegions = VMRegionClassificationNode.fromRegions([
VMRegion.fromDict({
mappedFile: '/lib/chrome.so',
« no previous file with comments | « tracing/tracing/ui/analysis/memory_dump_sub_view_test_utils.html ('k') | tracing/tracing/ui/analysis/power_sample_table.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698