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

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

Issue 2877893002: Make UseCounter take a LocaFrame instead of any Frame (Closed)
Patch Set: Fix compile 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 4a71b34eb1d5223e0d3beb2b9c1485b726e11a33..59c431c61c22bcb22d18826c80f0278d3c731bac 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
@@ -1639,12 +1639,12 @@ 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);
void Count(CSSParserMode, CSSPropertyID);
- void Count(Feature);
+ void Count(Feature, const LocalFrame*);
static void CountAnimatedCSS(const Document&, CSSPropertyID);
void CountAnimatedCSS(CSSPropertyID);
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.cpp ('k') | third_party/WebKit/Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698