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

Side by Side Diff: Source/platform/heap/ThreadState.h

Issue 1164573002: CSSValue Immediates: Change CSSValue to an object instead of a pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: More oilpan fixes & oilpan review feedback ; still failing tests Created 5 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 #define WILL_BE_USING_PRE_FINALIZER(Class, method) 125 #define WILL_BE_USING_PRE_FINALIZER(Class, method)
126 #endif 126 #endif
127 127
128 // List of typed heaps. The list is used to generate the implementation 128 // List of typed heaps. The list is used to generate the implementation
129 // of typed heap related methods. 129 // of typed heap related methods.
130 // 130 //
131 // To create a new typed heap add a H(<ClassName>) to the 131 // To create a new typed heap add a H(<ClassName>) to the
132 // FOR_EACH_TYPED_HEAP macro below. 132 // FOR_EACH_TYPED_HEAP macro below.
133 #define FOR_EACH_TYPED_HEAP(H) \ 133 #define FOR_EACH_TYPED_HEAP(H) \
134 H(Node) \ 134 H(Node) \
135 H(CSSValue) 135 H(CSSValueObject)
136 136
137 #define TypedHeapEnumName(Type) Type##HeapIndex, 137 #define TypedHeapEnumName(Type) Type##HeapIndex,
138 138
139 enum HeapIndices { 139 enum HeapIndices {
140 EagerSweepHeapIndex = 0, 140 EagerSweepHeapIndex = 0,
141 NormalPage1HeapIndex, 141 NormalPage1HeapIndex,
142 NormalPage2HeapIndex, 142 NormalPage2HeapIndex,
143 NormalPage3HeapIndex, 143 NormalPage3HeapIndex,
144 NormalPage4HeapIndex, 144 NormalPage4HeapIndex,
145 Vector1HeapIndex, 145 Vector1HeapIndex,
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 }; 771 };
772 772
773 template<> class ThreadStateFor<AnyThread> { 773 template<> class ThreadStateFor<AnyThread> {
774 public: 774 public:
775 static ThreadState* state() { return ThreadState::current(); } 775 static ThreadState* state() { return ThreadState::current(); }
776 }; 776 };
777 777
778 } // namespace blink 778 } // namespace blink
779 779
780 #endif // ThreadState_h 780 #endif // ThreadState_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698