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

Unified Diff: Source/core/css/parser/SizesAttributeParser.h

Issue 653023002: ASSERTION FAILED: factor > 0 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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: Source/core/css/parser/SizesAttributeParser.h
diff --git a/Source/core/css/parser/SizesAttributeParser.h b/Source/core/css/parser/SizesAttributeParser.h
index 78a9946acc133887c008e8bf50fc1637a78544fa..d455a83be3c6b212af9c2e81b6370a58f117a7bf 100644
--- a/Source/core/css/parser/SizesAttributeParser.h
+++ b/Source/core/css/parser/SizesAttributeParser.h
@@ -16,7 +16,7 @@ namespace blink {
class SizesAttributeParser {
STACK_ALLOCATED();
public:
- SizesAttributeParser(PassRefPtr<MediaValues>, const String&);
+ SizesAttributeParser(PassRefPtr<MediaValues>, const String&, bool hasLocalFrame = true);
bool viewportDependant() const { return m_viewportDependant; }
float length();
@@ -37,6 +37,7 @@ private:
Vector<CSSParserToken> m_tokens;
bool m_isValid;
MediaQueryBlockWatcher m_blockWatcher;
+ bool m_hasLocalFrame;
};
} // namespace

Powered by Google App Engine
This is Rietveld 408576698