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

Side by Side Diff: Source/core/css/CSSValuePool.cpp

Issue 169293002: Oilpan: Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixheaptest Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/css/CSSValuePool.h ('k') | Source/core/css/Counter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 14 matching lines...) Expand all
25 25
26 #include "config.h" 26 #include "config.h"
27 #include "core/css/CSSValuePool.h" 27 #include "core/css/CSSValuePool.h"
28 28
29 #include "core/css/parser/BisonCSSParser.h" 29 #include "core/css/parser/BisonCSSParser.h"
30 #include "core/css/CSSValueList.h" 30 #include "core/css/CSSValueList.h"
31 #include "core/rendering/style/RenderStyle.h" 31 #include "core/rendering/style/RenderStyle.h"
32 32
33 namespace WebCore { 33 namespace WebCore {
34 34
35 DEFINE_GC_INFO(CSSValuePool);
36
37 CSSValuePool& cssValuePool() 35 CSSValuePool& cssValuePool()
38 { 36 {
39 #if ENABLE(OILPAN) 37 #if ENABLE(OILPAN)
40 DEFINE_STATIC_LOCAL(Persistent<CSSValuePool>, pool, (new CSSValuePool())); 38 DEFINE_STATIC_LOCAL(Persistent<CSSValuePool>, pool, (new CSSValuePool()));
41 return *pool; 39 return *pool;
42 #else 40 #else
43 DEFINE_STATIC_LOCAL(CSSValuePool, pool, ()); 41 DEFINE_STATIC_LOCAL(CSSValuePool, pool, ());
44 return pool; 42 return pool;
45 #endif // ENABLE(OILPAN) 43 #endif // ENABLE(OILPAN)
46 } 44 }
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 visitor->trace(m_colorWhite); 159 visitor->trace(m_colorWhite);
162 visitor->trace(m_colorBlack); 160 visitor->trace(m_colorBlack);
163 visitor->trace(m_pixelValueCache); 161 visitor->trace(m_pixelValueCache);
164 visitor->trace(m_percentValueCache); 162 visitor->trace(m_percentValueCache);
165 visitor->trace(m_numberValueCache); 163 visitor->trace(m_numberValueCache);
166 visitor->trace(m_fontFaceValueCache); 164 visitor->trace(m_fontFaceValueCache);
167 visitor->trace(m_fontFamilyValueCache); 165 visitor->trace(m_fontFamilyValueCache);
168 } 166 }
169 167
170 } 168 }
OLDNEW
« no previous file with comments | « Source/core/css/CSSValuePool.h ('k') | Source/core/css/Counter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698