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

Unified Diff: Source/core/css/parser/CSSPropertyParser.cpp

Issue 208313010: Replace raw pointers to GC allocated objects by members in stack allocated objects. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make Dictionary allow_only_inline_alloc Created 6 years, 9 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/CSSPropertyParser.h ('k') | Source/core/css/resolver/StyleResolver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSPropertyParser.cpp
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp
index de115bb91133da23bbbc11178ebc7941aec60aa2..4c25c666dbde77e24f4481c8411dd47d925d09b5 100644
--- a/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/Source/core/css/parser/CSSPropertyParser.cpp
@@ -5328,13 +5328,13 @@ public:
CSSPropertyID property;
CSSPropertyParser* m_parser;
- RefPtrWillBeRawPtr<CSSValueList> values;
- RefPtrWillBeRawPtr<CSSPrimitiveValue> x;
- RefPtrWillBeRawPtr<CSSPrimitiveValue> y;
- RefPtrWillBeRawPtr<CSSPrimitiveValue> blur;
- RefPtrWillBeRawPtr<CSSPrimitiveValue> spread;
- RefPtrWillBeRawPtr<CSSPrimitiveValue> style;
- RefPtrWillBeRawPtr<CSSPrimitiveValue> color;
+ RefPtrWillBeMember<CSSValueList> values;
+ RefPtrWillBeMember<CSSPrimitiveValue> x;
+ RefPtrWillBeMember<CSSPrimitiveValue> y;
+ RefPtrWillBeMember<CSSPrimitiveValue> blur;
+ RefPtrWillBeMember<CSSPrimitiveValue> spread;
+ RefPtrWillBeMember<CSSPrimitiveValue> style;
+ RefPtrWillBeMember<CSSPrimitiveValue> color;
bool allowX;
bool allowY;
@@ -5844,10 +5844,10 @@ private:
bool m_allowFill;
bool m_allowFinalCommit;
- RefPtrWillBeRawPtr<CSSPrimitiveValue> m_top;
- RefPtrWillBeRawPtr<CSSPrimitiveValue> m_right;
- RefPtrWillBeRawPtr<CSSPrimitiveValue> m_bottom;
- RefPtrWillBeRawPtr<CSSPrimitiveValue> m_left;
+ RefPtrWillBeMember<CSSPrimitiveValue> m_top;
+ RefPtrWillBeMember<CSSPrimitiveValue> m_right;
+ RefPtrWillBeMember<CSSPrimitiveValue> m_bottom;
+ RefPtrWillBeMember<CSSPrimitiveValue> m_left;
bool m_fill;
};
@@ -5961,10 +5961,10 @@ private:
bool m_allowNumber;
bool m_allowFinalCommit;
- RefPtrWillBeRawPtr<CSSPrimitiveValue> m_top;
- RefPtrWillBeRawPtr<CSSPrimitiveValue> m_right;
- RefPtrWillBeRawPtr<CSSPrimitiveValue> m_bottom;
- RefPtrWillBeRawPtr<CSSPrimitiveValue> m_left;
+ RefPtrWillBeMember<CSSPrimitiveValue> m_top;
+ RefPtrWillBeMember<CSSPrimitiveValue> m_right;
+ RefPtrWillBeMember<CSSPrimitiveValue> m_bottom;
+ RefPtrWillBeMember<CSSPrimitiveValue> m_left;
};
bool CSSPropertyParser::parseBorderImageQuad(Units validUnits, RefPtrWillBeRawPtr<CSSPrimitiveValue>& result)
« no previous file with comments | « Source/core/css/parser/CSSPropertyParser.h ('k') | Source/core/css/resolver/StyleResolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698