| 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 2e094fb6646c387bc5f330353319fe8ec9408ece..058d042ee9e4219358b08fc4c7af0ae0c0cd7bf6 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 protocol::OptionalValue<bool>& trackAllocations)
|
| +void InspectorHeapProfilerAgent::startTrackingHeapObjects(ErrorString* error, const protocol::Maybe<bool>& trackAllocations)
|
| {
|
| m_v8HeapProfilerAgent->startTrackingHeapObjects(error, trackAllocations);
|
| startUpdateStatsTimer();
|
| }
|
|
|
| -void InspectorHeapProfilerAgent::stopTrackingHeapObjects(ErrorString* error, const protocol::OptionalValue<bool>& reportProgress)
|
| +void InspectorHeapProfilerAgent::stopTrackingHeapObjects(ErrorString* error, const protocol::Maybe<bool>& reportProgress)
|
| {
|
| m_v8HeapProfilerAgent->stopTrackingHeapObjects(error, reportProgress);
|
| stopUpdateStatsTimer();
|
| @@ -159,12 +159,12 @@ void InspectorHeapProfilerAgent::disable(ErrorString* error)
|
| stopUpdateStatsTimer();
|
| }
|
|
|
| -void InspectorHeapProfilerAgent::takeHeapSnapshot(ErrorString* errorString, const protocol::OptionalValue<bool>& reportProgress)
|
| +void InspectorHeapProfilerAgent::takeHeapSnapshot(ErrorString* errorString, const protocol::Maybe<bool>& reportProgress)
|
| {
|
| m_v8HeapProfilerAgent->takeHeapSnapshot(errorString, reportProgress);
|
| }
|
|
|
| -void InspectorHeapProfilerAgent::getObjectByHeapObjectId(ErrorString* error, const String& heapSnapshotObjectId, const protocol::OptionalValue<String>& objectGroup, OwnPtr<protocol::Runtime::RemoteObject>* result)
|
| +void InspectorHeapProfilerAgent::getObjectByHeapObjectId(ErrorString* error, const String& heapSnapshotObjectId, const protocol::Maybe<String>& objectGroup, OwnPtr<protocol::Runtime::RemoteObject>* result)
|
| {
|
| bool ok;
|
| unsigned id = heapSnapshotObjectId.toUInt(&ok);
|
|
|