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

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

Issue 1260403002: Oilpan: Remove raw pointer to LocalFrame from MediaValuesDynamic (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « Source/core/css/parser/SizesAttributeParserTest.cpp ('k') | Source/core/css/parser/SizesCalcParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/SizesCalcParser.h
diff --git a/Source/core/css/parser/SizesCalcParser.h b/Source/core/css/parser/SizesCalcParser.h
index 5e382ea85919daf0018efbb9ae52d9e5242b2780..fab44af560714e5d621ef7f555568c4cf0a26b7d 100644
--- a/Source/core/css/parser/SizesCalcParser.h
+++ b/Source/core/css/parser/SizesCalcParser.h
@@ -34,9 +34,9 @@ struct SizesCalcValue {
};
class CORE_EXPORT SizesCalcParser {
-
+ STACK_ALLOCATED();
public:
- SizesCalcParser(CSSParserTokenRange, PassRefPtr<MediaValues>);
+ SizesCalcParser(CSSParserTokenRange, PassRefPtrWillBeRawPtr<MediaValues>);
float result() const;
bool isValid() const { return m_isValid; }
@@ -50,7 +50,7 @@ private:
void appendOperator(const CSSParserToken&);
Vector<SizesCalcValue> m_valueList;
- RefPtr<MediaValues> m_mediaValues;
+ RefPtrWillBeMember<MediaValues> m_mediaValues;
bool m_isValid;
float m_result;
};
« no previous file with comments | « Source/core/css/parser/SizesAttributeParserTest.cpp ('k') | Source/core/css/parser/SizesCalcParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698