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

Unified Diff: third_party/WebKit/Source/core/css/StyleSheetContents.cpp

Issue 2408353003: Add hasViewportRule() flag to StyleSheetContents. (Closed)
Patch Set: CORE_EXPORT Created 4 years, 2 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/StyleSheetContents.cpp
diff --git a/third_party/WebKit/Source/core/css/StyleSheetContents.cpp b/third_party/WebKit/Source/core/css/StyleSheetContents.cpp
index 6d642af4888d5b79bc5cac7c863150036f994e5a..6740a6bb11b80df48d1284216d91c6f00fef7b11 100644
--- a/third_party/WebKit/Source/core/css/StyleSheetContents.cpp
+++ b/third_party/WebKit/Source/core/css/StyleSheetContents.cpp
@@ -66,6 +66,7 @@ StyleSheetContents::StyleSheetContents(StyleRuleImport* ownerRule,
m_didLoadErrorOccur(false),
m_isMutable(false),
m_hasFontFaceRule(false),
+ m_hasViewportRule(false),
m_hasMediaQueries(false),
m_hasSingleOwnerDocument(true),
m_isUsedFromTextCache(false),
@@ -83,6 +84,7 @@ StyleSheetContents::StyleSheetContents(const StyleSheetContents& o)
m_didLoadErrorOccur(false),
m_isMutable(false),
m_hasFontFaceRule(o.m_hasFontFaceRule),
+ m_hasViewportRule(o.m_hasViewportRule),
m_hasMediaQueries(o.m_hasMediaQueries),
m_hasSingleOwnerDocument(true),
m_isUsedFromTextCache(false),
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleSheetContents.h ('k') | third_party/WebKit/Source/core/css/StyleSheetContentsTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698