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

Unified Diff: third_party/WebKit/Source/core/frame/UseCounter.h

Issue 2877893002: Make UseCounter take a LocaFrame instead of any Frame (Closed)
Patch Set: Rebase 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/frame/UseCounter.h
diff --git a/third_party/WebKit/Source/core/frame/UseCounter.h b/third_party/WebKit/Source/core/frame/UseCounter.h
index cc4a96bfc79798ac8b1bf99574dc495ca8252484..afc310692901cd81516f92c4bf8a6016f598d73d 100644
--- a/third_party/WebKit/Source/core/frame/UseCounter.h
+++ b/third_party/WebKit/Source/core/frame/UseCounter.h
@@ -43,7 +43,7 @@ class CSSStyleSheet;
class Document;
class EnumerationHistogram;
class ExecutionContext;
-class Frame;
+class LocalFrame;
class StyleSheetContents;
// UseCounter is used for counting the number of times features of
@@ -1604,7 +1604,7 @@ class CORE_EXPORT UseCounter {
};
// "count" sets the bit for this feature to 1. Repeated calls are ignored.
- static void Count(const Frame*, Feature);
+ static void Count(const LocalFrame*, Feature);
static void Count(const Document&, Feature);
static void Count(ExecutionContext*, Feature);

Powered by Google App Engine
This is Rietveld 408576698