| Index: third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.h b/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.h
|
| index 5d709e7367293085c003c595ad0c0f1b76dbdd35..6089807eb8783a99507011983a1fecdfba75b3bb 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.h
|
| @@ -33,6 +33,7 @@
|
| #include "core/CoreExport.h"
|
| #include "gin/public/isolate_holder.h"
|
| #include "gin/public/v8_idle_task_runner.h"
|
| +#include "public/platform/Platform.h"
|
| #include "wtf/HashMap.h"
|
| #include "wtf/Noncopyable.h"
|
| #include "wtf/OwnPtr.h"
|
| @@ -48,7 +49,8 @@ struct WrapperTypeInfo;
|
|
|
| typedef WTF::Vector<DOMDataStore*> DOMDataStoreList;
|
|
|
| -class CORE_EXPORT V8PerIsolateData {
|
| +class CORE_EXPORT V8PerIsolateData
|
| + : public Platform::TraceLogEnabledStateObserver {
|
| USING_FAST_MALLOC(V8PerIsolateData);
|
| WTF_MAKE_NONCOPYABLE(V8PerIsolateData);
|
| public:
|
| @@ -122,6 +124,10 @@ public:
|
| void setThreadDebugger(PassOwnPtr<ThreadDebugger>);
|
| ThreadDebugger* threadDebugger();
|
|
|
| + // Platform::TraceLogEnabledStateObserver methods:
|
| + void onTraceLogEnabled() override;
|
| + void onTraceLogDisabled() override;
|
| +
|
| private:
|
| V8PerIsolateData();
|
| ~V8PerIsolateData();
|
|
|