Index: Source/core/css/parser/CSSPropertyParser.h |
diff --git a/Source/core/css/parser/CSSPropertyParser.h b/Source/core/css/parser/CSSPropertyParser.h |
index 76ac371599cb7227d13f22d49ef250118bf77b6e..a0e33c4fb035b74dc7d0fe98314bf392c0af367f 100644 |
--- a/Source/core/css/parser/CSSPropertyParser.h |
+++ b/Source/core/css/parser/CSSPropertyParser.h |
@@ -290,6 +290,7 @@ private: |
}; |
class ImplicitScope { |
+ STACK_ALLOCATED(); |
WTF_MAKE_NONCOPYABLE(ImplicitScope); |
public: |
ImplicitScope(CSSPropertyParser* parser, PropertyType propertyType) |
@@ -307,11 +308,8 @@ private: |
CSSPropertyParser* m_parser; |
}; |
- // FIXME: MSVC doesn't like ShorthandScope being private |
- // since ~OwnPtr can't access its destructor if non-inlined. |
-public: |
class ShorthandScope { |
- WTF_MAKE_FAST_ALLOCATED; |
+ STACK_ALLOCATED(); |
public: |
ShorthandScope(CSSPropertyParser* parser, CSSPropertyID propId) : m_parser(parser) |
{ |