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

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

Issue 2671173002: Change CSSParserContext to have a Document handle (vs UseCounter). (Closed)
Patch Set: fix todo style Created 3 years, 10 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 08c3aaca9bdd13f8dea5920da3ffcd57d094a991..ed39e5eb29b929905f41f39cdd94fd75589c6e50 100644
--- a/third_party/WebKit/Source/core/frame/UseCounter.h
+++ b/third_party/WebKit/Source/core/frame/UseCounter.h
@@ -1488,10 +1488,6 @@ class CORE_EXPORT UseCounter {
// Invoked when a new document is loaded into the main frame of the page.
void didCommitLoad(KURL);
- static UseCounter* getFrom(const Document*);
- static UseCounter* getFrom(const CSSStyleSheet*);
- static UseCounter* getFrom(const StyleSheetContents*);
-
static int mapCSSPropertyIdToCSSSampleIdForHistogram(CSSPropertyID);
// When muted, all calls to "count" functions are ignoed. May be nested.

Powered by Google App Engine
This is Rietveld 408576698