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

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

Issue 2081893003: Mark stylesheet as having media queries at consume time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back to marking at consume time Created 4 years, 6 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.h
diff --git a/third_party/WebKit/Source/core/css/StyleSheetContents.h b/third_party/WebKit/Source/core/css/StyleSheetContents.h
index c9ef7b2093508c58d2d0c15443de88d06698a4a1..3c1a0013941d4848967a70044855dc18b8229ea9 100644
--- a/third_party/WebKit/Source/core/css/StyleSheetContents.h
+++ b/third_party/WebKit/Source/core/css/StyleSheetContents.h
@@ -91,7 +91,7 @@ public:
void setHasSyntacticallyValidCSSHeader(bool isValidCss);
bool hasSyntacticallyValidCSSHeader() const { return m_hasSyntacticallyValidCSSHeader; }
- void setHasFontFaceRule(bool b) { m_hasFontFaceRule = b; }
+ void setHasFontFaceRule() { m_hasFontFaceRule = true; }
bool hasFontFaceRule() const { return m_hasFontFaceRule; }
void findFontFaceRules(HeapVector<Member<const StyleRuleFontFace>>& fontFaceRules);

Powered by Google App Engine
This is Rietveld 408576698