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

Unified Diff: tracing/tracing/ui/tracks/memory_dump_track_test_utils.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: rebase Created 3 years, 9 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/tracks/memory_dump_track_test_utils.html
diff --git a/tracing/tracing/ui/tracks/memory_dump_track_test_utils.html b/tracing/tracing/ui/tracks/memory_dump_track_test_utils.html
index 90100d9a03ca7b4367d46d74828be06a44106f00..f1524ecea20053b05d6a14f89a334f29d6eb7610 100644
--- a/tracing/tracing/ui/tracks/memory_dump_track_test_utils.html
+++ b/tracing/tracing/ui/tracks/memory_dump_track_test_utils.html
@@ -78,10 +78,12 @@ tr.exportTo('tr.ui.tracks', function() {
function addProcessMemoryDumpWithFields(globalMemoryDump, process, start,
opt_pssValues, opt_dumpData) {
var pmd = addProcessMemoryDump(globalMemoryDump, process, {ts: start});
- if (opt_pssValues !== undefined)
+ if (opt_pssValues !== undefined) {
pmd.vmRegions = createVMRegions(opt_pssValues);
- if (opt_dumpData !== undefined)
+ }
+ if (opt_dumpData !== undefined) {
pmd.memoryAllocatorDumps = createAllocatorDumps(pmd, opt_dumpData);
+ }
}
function createModelWithDumps(withVMRegions, withAllocatorDumps) {
« no previous file with comments | « tracing/tracing/ui/tracks/letter_dot_track.html ('k') | tracing/tracing/ui/tracks/memory_dump_track_util.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698