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

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

Issue 2873433003: Move MediaQuery classes off BlinkGC heap (Closed)
Patch Set: Created 3 years, 7 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/parser/SizesAttributeParser.h
diff --git a/third_party/WebKit/Source/core/css/parser/SizesAttributeParser.h b/third_party/WebKit/Source/core/css/parser/SizesAttributeParser.h
index ed96f5562caa0b18eef0d97316f84c8b4c0479f9..64470c3ffdeaf17e789aff6f296c7c2e4f8cc7af 100644
--- a/third_party/WebKit/Source/core/css/parser/SizesAttributeParser.h
+++ b/third_party/WebKit/Source/core/css/parser/SizesAttributeParser.h
@@ -26,10 +26,10 @@ class CORE_EXPORT SizesAttributeParser {
bool parse(CSSParserTokenRange);
float effectiveSize();
bool calculateLengthInPixels(CSSParserTokenRange, float& result);
- bool mediaConditionMatches(MediaQuerySet* mediaCondition);
+ bool mediaConditionMatches(const MediaQuerySet& mediaCondition);
float effectiveSizeDefaultValue();
- Member<MediaQuerySet> m_mediaCondition;
+ RefPtr<MediaQuerySet> m_mediaCondition;
Member<MediaValues> m_mediaValues;
float m_length;
bool m_lengthWasSet;

Powered by Google App Engine
This is Rietveld 408576698