Index: third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.cpp |
diff --git a/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.cpp b/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.cpp |
index 1f787aa1030e0eaf51d549c5f9a25559122d9831..7562a80bab29999777244b5302e0b320b2f8909a 100644 |
--- a/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.cpp |
+++ b/third_party/WebKit/Source/core/workers/MainThreadWorkletGlobalScope.cpp |
@@ -6,6 +6,7 @@ |
#include "bindings/core/v8/ScriptSourceCode.h" |
#include "bindings/core/v8/WorkerOrWorkletScriptController.h" |
+#include "core/frame/Deprecation.h" |
#include "core/frame/FrameConsole.h" |
#include "core/frame/LocalFrame.h" |
#include "core/inspector/MainThreadDebugger.h" |
@@ -23,6 +24,20 @@ MainThreadWorkletGlobalScope::MainThreadWorkletGlobalScope( |
MainThreadWorkletGlobalScope::~MainThreadWorkletGlobalScope() {} |
+void MainThreadWorkletGlobalScope::countFeature( |
+ UseCounter::Feature feature) const { |
+ WorkletGlobalScope::countFeature(feature); |
+ // TODO(nhiroki): Support UseCounter for main thread worklets. |
+ // (https://crbug.com/667357) |
falken
2016/12/02 08:54:49
It's hard to understand the TODO at first but the
nhiroki
2016/12/05 04:49:01
Done.
|
+} |
+ |
+void MainThreadWorkletGlobalScope::countDeprecation( |
+ UseCounter::Feature feature) const { |
+ WorkletGlobalScope::countDeprecation(feature); |
falken
2016/12/02 08:54:49
ditto
nhiroki
2016/12/05 04:49:01
Done.
|
+ // TODO(nhiroki): Support UseCounter for main thread worklets. |
+ // (https://crbug.com/667357) |
+} |
+ |
WorkerThread* MainThreadWorkletGlobalScope::thread() const { |
NOTREACHED(); |
return nullptr; |