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

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 ae8a328eeada675730508477922dc49fb1639487..ebb9f5f0d1d139693ebedfb710375a90f6321f5d 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
@@ -1638,12 +1638,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);

Powered by Google App Engine
This is Rietveld 408576698