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

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

Issue 171843002: [oilpan] Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: rebased 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 | « no previous file | Source/heap/Heap.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 20 matching lines...) Expand all
31 #include "core/css/CSSInitialValue.h" 31 #include "core/css/CSSInitialValue.h"
32 #include "core/css/CSSPrimitiveValue.h" 32 #include "core/css/CSSPrimitiveValue.h"
33 #include <wtf/HashMap.h> 33 #include <wtf/HashMap.h>
34 #include <wtf/RefPtr.h> 34 #include <wtf/RefPtr.h>
35 #include <wtf/text/AtomicStringHash.h> 35 #include <wtf/text/AtomicStringHash.h>
36 36
37 namespace WebCore { 37 namespace WebCore {
38 38
39 class CSSValueList; 39 class CSSValueList;
40 40
41 class CSSValuePool : GarbageCollected<CSSValuePool> { 41 class CSSValuePool : public GarbageCollected<CSSValuePool> {
42 DECLARE_GC_INFO 42 DECLARE_GC_INFO
43 public: 43 public:
44 CSSValueList* createFontFaceValue(const AtomicString&); 44 CSSValueList* createFontFaceValue(const AtomicString&);
45 CSSPrimitiveValue* createFontFamilyValue(const String&); 45 CSSPrimitiveValue* createFontFamilyValue(const String&);
46 CSSInheritedValue* createInheritedValue() { return m_inheritedValue; } 46 CSSInheritedValue* createInheritedValue() { return m_inheritedValue; }
47 CSSInitialValue* createImplicitInitialValue() { return m_implicitInitialValu e; } 47 CSSInitialValue* createImplicitInitialValue() { return m_implicitInitialValu e; }
48 CSSInitialValue* createExplicitInitialValue() { return m_explicitInitialValu e; } 48 CSSInitialValue* createExplicitInitialValue() { return m_explicitInitialValu e; }
49 CSSPrimitiveValue* createIdentifierValue(int identifier); 49 CSSPrimitiveValue* createIdentifierValue(int identifier);
50 CSSPrimitiveValue* createColorValue(unsigned rgbValue); 50 CSSPrimitiveValue* createColorValue(unsigned rgbValue);
51 CSSPrimitiveValue* createValue(double value, CSSPrimitiveValue::UnitTypes); 51 CSSPrimitiveValue* createValue(double value, CSSPrimitiveValue::UnitTypes);
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 HeapHashMap<String, Member<CSSPrimitiveValue> > m_fontFamilyValueCache; 100 HeapHashMap<String, Member<CSSPrimitiveValue> > m_fontFamilyValueCache;
101 101
102 friend CSSValuePool& cssValuePool(); 102 friend CSSValuePool& cssValuePool();
103 }; 103 };
104 104
105 CSSValuePool& cssValuePool(); 105 CSSValuePool& cssValuePool();
106 106
107 } 107 }
108 108
109 #endif 109 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/heap/Heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698