Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Unified Diff: third_party/WebKit/Source/core/workers/ThreadedObjectProxyBase.h

Issue 2894063002: Expose UseCounter::Feature enum out of blink as WebFeature (Closed)
Patch Set: Initial check in Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/workers/ThreadedObjectProxyBase.h
diff --git a/third_party/WebKit/Source/core/workers/ThreadedObjectProxyBase.h b/third_party/WebKit/Source/core/workers/ThreadedObjectProxyBase.h
index 29bc2e5e471504fb427f8e84e43e91c8e72a3105..613255734cfc5f8c04fbf82a861e2d4aa7c20889 100644
--- a/third_party/WebKit/Source/core/workers/ThreadedObjectProxyBase.h
+++ b/third_party/WebKit/Source/core/workers/ThreadedObjectProxyBase.h
@@ -29,8 +29,15 @@ class CORE_EXPORT ThreadedObjectProxyBase : public WorkerReportingProxy {
void ReportPendingActivity(bool has_pending_activity);
// WorkerReportingProxy overrides.
+ // TODO(lunalu): Deprecate UseCounter::Feature by WebFeature.
void CountFeature(UseCounter::Feature) override;
+ void CountFeature(WebFeature feature) override {
+ return CountFeature(static_cast<UseCounter::Feature>(feature));
+ }
void CountDeprecation(UseCounter::Feature) override;
+ void CountDeprecation(WebFeature feature) override {
+ return CountDeprecation(static_cast<UseCounter::Feature>(feature));
+ }
void ReportConsoleMessage(MessageSource,
MessageLevel,
const String& message,

Powered by Google App Engine
This is Rietveld 408576698