| Index: third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.cpp
|
| index 849ea6298768ec3d2e19a01580e6e09c669f1cb3..2e094fb6646c387bc5f330353319fe8ec9408ece 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.cpp
|
| @@ -120,13 +120,13 @@ void InspectorHeapProfilerAgent::collectGarbage(ErrorString* error)
|
| m_v8HeapProfilerAgent->collectGarbage(error);
|
| }
|
|
|
| -void InspectorHeapProfilerAgent::startTrackingHeapObjects(ErrorString* error, const bool* trackAllocations)
|
| +void InspectorHeapProfilerAgent::startTrackingHeapObjects(ErrorString* error, const protocol::OptionalValue<bool>& trackAllocations)
|
| {
|
| m_v8HeapProfilerAgent->startTrackingHeapObjects(error, trackAllocations);
|
| startUpdateStatsTimer();
|
| }
|
|
|
| -void InspectorHeapProfilerAgent::stopTrackingHeapObjects(ErrorString* error, const bool* reportProgress)
|
| +void InspectorHeapProfilerAgent::stopTrackingHeapObjects(ErrorString* error, const protocol::OptionalValue<bool>& reportProgress)
|
| {
|
| m_v8HeapProfilerAgent->stopTrackingHeapObjects(error, reportProgress);
|
| stopUpdateStatsTimer();
|
| @@ -159,12 +159,12 @@ void InspectorHeapProfilerAgent::disable(ErrorString* error)
|
| stopUpdateStatsTimer();
|
| }
|
|
|
| -void InspectorHeapProfilerAgent::takeHeapSnapshot(ErrorString* errorString, const bool* reportProgress)
|
| +void InspectorHeapProfilerAgent::takeHeapSnapshot(ErrorString* errorString, const protocol::OptionalValue<bool>& reportProgress)
|
| {
|
| m_v8HeapProfilerAgent->takeHeapSnapshot(errorString, reportProgress);
|
| }
|
|
|
| -void InspectorHeapProfilerAgent::getObjectByHeapObjectId(ErrorString* error, const String& heapSnapshotObjectId, const String* objectGroup, RefPtr<protocol::TypeBuilder::Runtime::RemoteObject>& result)
|
| +void InspectorHeapProfilerAgent::getObjectByHeapObjectId(ErrorString* error, const String& heapSnapshotObjectId, const protocol::OptionalValue<String>& objectGroup, OwnPtr<protocol::Runtime::RemoteObject>* result)
|
| {
|
| bool ok;
|
| unsigned id = heapSnapshotObjectId.toUInt(&ok);
|
| @@ -226,7 +226,7 @@ void InspectorHeapProfilerAgent::startSampling(ErrorString* errorString)
|
| m_v8HeapProfilerAgent->startSampling(errorString);
|
| }
|
|
|
| -void InspectorHeapProfilerAgent::stopSampling(ErrorString* errorString, RefPtr<protocol::TypeBuilder::HeapProfiler::SamplingHeapProfile>& profile)
|
| +void InspectorHeapProfilerAgent::stopSampling(ErrorString* errorString, OwnPtr<protocol::HeapProfiler::SamplingHeapProfile>* profile)
|
| {
|
| m_v8HeapProfilerAgent->stopSampling(errorString, profile);
|
| }
|
|
|