| Index: Source/web/InspectorClientImpl.cpp
|
| diff --git a/Source/web/InspectorClientImpl.cpp b/Source/web/InspectorClientImpl.cpp
|
| index 004f247d3012c31aa53cb9717313bc02cf46451e..7f7c4f7835825cc375293bf672f3d3f8bc0ee11f 100644
|
| --- a/Source/web/InspectorClientImpl.cpp
|
| +++ b/Source/web/InspectorClientImpl.cpp
|
| @@ -160,10 +160,16 @@ void InspectorClientImpl::dispatchMouseEvent(const PlatformMouseEvent& event)
|
| agent->dispatchMouseEvent(event);
|
| }
|
|
|
| -void InspectorClientImpl::setTraceEventCallback(TraceEventCallback callback)
|
| +void InspectorClientImpl::setTraceEventCallback(const String& categoryFilter, TraceEventCallback callback)
|
| {
|
| if (WebDevToolsAgentImpl* agent = devToolsAgent())
|
| - agent->setTraceEventCallback(callback);
|
| + agent->setTraceEventCallback(categoryFilter, callback);
|
| +}
|
| +
|
| +void InspectorClientImpl::resetTraceEventCallback()
|
| +{
|
| + if (WebDevToolsAgentImpl* agent = devToolsAgent())
|
| + agent->resetTraceEventCallback();
|
| }
|
|
|
| void InspectorClientImpl::startGPUEventsRecording()
|
|
|