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
This commit is contained in:
loislo@chromium.org 2012-03-11 07:35:21 +00:00
parent f4f4bd0a46
commit dd711075fa
2 changed files with 5 additions and 2 deletions

View File

@ -1472,7 +1472,8 @@ void HeapSnapshotsCollection::RemoveSnapshot(HeapSnapshot* snapshot) {
}
Handle<HeapObject> HeapSnapshotsCollection::FindHeapObjectById(SnapshotObjectId id) {
Handle<HeapObject> HeapSnapshotsCollection::FindHeapObjectById(
SnapshotObjectId id) {
// First perform a full GC in order to avoid dead objects.
HEAP->CollectAllGarbage(Heap::kMakeHeapIterableMask,
"HeapSnapshotsCollection::FindHeapObjectById");

View File

@ -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;
};