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

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

Issue 208893005: Fix various inner classes now identified by the Blink GC plugin. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
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)
{

Powered by Google App Engine
This is Rietveld 408576698