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

Unified Diff: third_party/WebKit/Source/core/css/CSSStyleSheet.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/css/CSSStyleSheet.h
diff --git a/third_party/WebKit/Source/core/css/CSSStyleSheet.h b/third_party/WebKit/Source/core/css/CSSStyleSheet.h
index 60958a0501a6e0e481794b0af57c2b0cd67f8586..b8102a42cb142300235aaf259ed830b70227a5af 100644
--- a/third_party/WebKit/Source/core/css/CSSStyleSheet.h
+++ b/third_party/WebKit/Source/core/css/CSSStyleSheet.h
@@ -47,6 +47,8 @@ class CORE_EXPORT CSSStyleSheet final : public StyleSheet {
WTF_MAKE_NONCOPYABLE(CSSStyleSheet);
public:
+ static const Document* singleOwnerDocument(const CSSStyleSheet*);
+
static CSSStyleSheet* create(StyleSheetContents*,
CSSImportRule* ownerRule = nullptr);
static CSSStyleSheet* create(StyleSheetContents*, Node& ownerNode);
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp ('k') | third_party/WebKit/Source/core/css/CSSStyleSheet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698