Chromium Code Reviews| Index: src/api.cc |
| =================================================================== |
| --- src/api.cc (revision 13098) |
| +++ src/api.cc (working copy) |
| @@ -6405,7 +6405,8 @@ |
| const HeapSnapshot* HeapProfiler::TakeSnapshot(Handle<String> title, |
| HeapSnapshot::Type type, |
| - ActivityControl* control) { |
| + ActivityControl* control, |
| + ObjectNameResolver* resolver) { |
| i::Isolate* isolate = i::Isolate::Current(); |
| IsDeadCheck(isolate, "v8::HeapProfiler::TakeSnapshot"); |
| i::HeapSnapshot::Type internal_type = i::HeapSnapshot::kFull; |
| @@ -6418,7 +6419,7 @@ |
| } |
| return reinterpret_cast<const HeapSnapshot*>( |
| i::HeapProfiler::TakeSnapshot( |
| - *Utils::OpenHandle(*title), internal_type, control)); |
| + *Utils::OpenHandle(*title), internal_type, control, resolver)); |
| } |
| @@ -6609,7 +6610,6 @@ |
| IterateThis(v); |
| } |
|
alph
2012/12/03 18:31:15
You've lost an empty line.
yurys
2012/12/03 18:36:06
Done.
|
| - |
| char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { |
| HandleScopeImplementer* scope_implementer = |
| reinterpret_cast<HandleScopeImplementer*>(storage); |