Commit 3aedc061 authored by zerny@chromium.org's avatar zerny@chromium.org

Added STACK_ALLOCATED annotations according to the Blink GC plugin requirements.

R=ager@chromium.org
BUG=

Review URL: https://codereview.chromium.org/203963005

git-svn-id: svn://svn.chromium.org/blink/trunk@169690 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 8f8f5001
...@@ -5225,7 +5225,7 @@ bool CSSPropertyParser::parseColorFromValue(CSSParserValue* value, RGBA32& c) ...@@ -5225,7 +5225,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) // 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. // without the allowBreak bit being set, then it will clean up all of the objects and destroy them.
class ShadowParseContext { class ShadowParseContext {
DISALLOW_ALLOCATION(); STACK_ALLOCATED();
public: public:
ShadowParseContext(CSSPropertyID prop, CSSPropertyParser* parser) ShadowParseContext(CSSPropertyID prop, CSSPropertyParser* parser)
: property(prop) : property(prop)
...@@ -5775,7 +5775,7 @@ bool CSSPropertyParser::parseBorderImageRepeat(RefPtrWillBeRawPtr<CSSValue>& res ...@@ -5775,7 +5775,7 @@ bool CSSPropertyParser::parseBorderImageRepeat(RefPtrWillBeRawPtr<CSSValue>& res
} }
class BorderImageSliceParseContext { class BorderImageSliceParseContext {
DISALLOW_ALLOCATION(); STACK_ALLOCATED();
public: public:
BorderImageSliceParseContext(CSSPropertyParser* parser) BorderImageSliceParseContext(CSSPropertyParser* parser)
: m_parser(parser) : m_parser(parser)
...@@ -5890,6 +5890,7 @@ bool CSSPropertyParser::parseBorderImageSlice(CSSPropertyID propId, RefPtrWillBe ...@@ -5890,6 +5890,7 @@ bool CSSPropertyParser::parseBorderImageSlice(CSSPropertyID propId, RefPtrWillBe
} }
class BorderImageQuadParseContext { class BorderImageQuadParseContext {
STACK_ALLOCATED();
public: public:
BorderImageQuadParseContext(CSSPropertyParser* parser) BorderImageQuadParseContext(CSSPropertyParser* parser)
: m_parser(parser) : m_parser(parser)
......
...@@ -38,6 +38,8 @@ class EventDispatcher; ...@@ -38,6 +38,8 @@ class EventDispatcher;
class HTMLIFrameElement; class HTMLIFrameElement;
struct EventInit { struct EventInit {
STACK_ALLOCATED();
public:
EventInit(); EventInit();
bool bubbles; bool bubbles;
......
...@@ -35,8 +35,6 @@ namespace WebCore { ...@@ -35,8 +35,6 @@ namespace WebCore {
class Storage; class Storage;
struct StorageEventInit : public EventInit { struct StorageEventInit : public EventInit {
STACK_ALLOCATED();
public:
StorageEventInit(); StorageEventInit();
String key; String key;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment