| Index: third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp
|
| index 2913cc83a00757dc406f1fbfae1d87c384ad8727..31ab3dc3c8351b92cd36dc70d034678ef858e832 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp
|
| @@ -44,15 +44,15 @@ void InspectorTracingAgent::restore()
|
| emitMetadataEvents();
|
| }
|
| void InspectorTracingAgent::start(ErrorString*,
|
| - const OptionalValue<String>& categories,
|
| - const OptionalValue<String>& options,
|
| - const OptionalValue<double>& bufferUsageReportingInterval,
|
| - const OptionalValue<String>& transferMode,
|
| + const Maybe<String>& categories,
|
| + const Maybe<String>& options,
|
| + const Maybe<double>& bufferUsageReportingInterval,
|
| + const Maybe<String>& transferMode,
|
| PassRefPtr<StartCallback> callback)
|
| {
|
| ASSERT(sessionId().isEmpty());
|
| m_state->setString(TracingAgentState::sessionId, IdentifiersFactory::createIdentifier());
|
| - m_client->enableTracing(categories.get(String()));
|
| + m_client->enableTracing(categories.fromMaybe(String()));
|
| emitMetadataEvents();
|
| callback->sendSuccess();
|
| }
|
|
|