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

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

Issue 203963005: Added STACK_ALLOCATED annotations according to the Blink GC plugin requirements. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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 | « no previous file | Source/core/events/Event.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 44d4a11799e1f3955d745b6643d136329b31d4bf..a9cab37230a26f5d9537ef2a523fae1b28c66555 100644
--- a/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/Source/core/css/parser/CSSPropertyParser.cpp
@@ -5462,7 +5462,7 @@ bool CSSPropertyParser::parseColorFromValue(CSSParserValue* value, RGBA32& c)
// This class tracks parsing state for shadow values. If it goes out of scope (e.g., due to an early return)
// without the allowBreak bit being set, then it will clean up all of the objects and destroy them.
class ShadowParseContext {
- DISALLOW_ALLOCATION();
+ STACK_ALLOCATED();
public:
ShadowParseContext(CSSPropertyID prop, CSSPropertyParser* parser)
: property(prop)
@@ -6012,7 +6012,7 @@ bool CSSPropertyParser::parseBorderImageRepeat(RefPtrWillBeRawPtr<CSSValue>& res
}
class BorderImageSliceParseContext {
- DISALLOW_ALLOCATION();
+ STACK_ALLOCATED();
public:
BorderImageSliceParseContext(CSSPropertyParser* parser)
: m_parser(parser)
@@ -6127,6 +6127,7 @@ bool CSSPropertyParser::parseBorderImageSlice(CSSPropertyID propId, RefPtrWillBe
}
class BorderImageQuadParseContext {
+ STACK_ALLOCATED();
public:
BorderImageQuadParseContext(CSSPropertyParser* parser)
: m_parser(parser)
« no previous file with comments | « no previous file | Source/core/events/Event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698