From dd711075fab852cfc4dd19a5f89fddb2be77feea Mon Sep 17 00:00:00 2001 From: "loislo@chromium.org" Date: Sun, 11 Mar 2012 07:35:21 +0000 Subject: [PATCH] Style fix after reapplying the patch r10996. BUG=none TEST=none TBR=mikhail.naganov@gmail.com Review URL: https://chromiumcodereview.appspot.com/9664042 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10997 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/profile-generator.cc | 3 ++- src/profile-generator.h | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/profile-generator.cc b/src/profile-generator.cc index f2072e9..2046f9b 100644 --- a/src/profile-generator.cc +++ b/src/profile-generator.cc @@ -1472,7 +1472,8 @@ void HeapSnapshotsCollection::RemoveSnapshot(HeapSnapshot* snapshot) { } -Handle HeapSnapshotsCollection::FindHeapObjectById(SnapshotObjectId id) { +Handle HeapSnapshotsCollection::FindHeapObjectById( + SnapshotObjectId id) { // First perform a full GC in order to avoid dead objects. HEAP->CollectAllGarbage(Heap::kMakeHeapIterableMask, "HeapSnapshotsCollection::FindHeapObjectById"); diff --git a/src/profile-generator.h b/src/profile-generator.h index ba617f9..e7a41cb 100644 --- a/src/profile-generator.h +++ b/src/profile-generator.h @@ -717,7 +717,9 @@ class HeapObjectsMap { private: struct EntryInfo { explicit EntryInfo(SnapshotObjectId id) : id(id), accessed(true) { } - EntryInfo(SnapshotObjectId id, bool accessed) : id(id), accessed(accessed) { } + EntryInfo(SnapshotObjectId id, bool accessed) + : id(id), + accessed(accessed) { } SnapshotObjectId id; bool accessed; }; -- 2.7.4