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)
// 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)
......@@ -5775,7 +5775,7 @@ bool CSSPropertyParser::parseBorderImageRepeat(RefPtrWillBeRawPtr<CSSValue>& res
}
class BorderImageSliceParseContext {
DISALLOW_ALLOCATION();
STACK_ALLOCATED();
public:
BorderImageSliceParseContext(CSSPropertyParser* parser)
: m_parser(parser)
......@@ -5890,6 +5890,7 @@ bool CSSPropertyParser::parseBorderImageSlice(CSSPropertyID propId, RefPtrWillBe
}
class BorderImageQuadParseContext {
STACK_ALLOCATED();
public:
BorderImageQuadParseContext(CSSPropertyParser* parser)
: m_parser(parser)
......
......@@ -38,6 +38,8 @@ class EventDispatcher;
class HTMLIFrameElement;
struct EventInit {
STACK_ALLOCATED();
public:
EventInit();
bool bubbles;
......
......@@ -35,8 +35,6 @@ namespace WebCore {
class Storage;
struct StorageEventInit : public EventInit {
STACK_ALLOCATED();
public:
StorageEventInit();
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