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

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

Issue 1190303003: CL for perf tryjob on win (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: CL for perf tryjob on mac 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
« no previous file with comments | « Source/core/style/StylePendingImage.h ('k') | Source/web/PluginPlaceholderImplTest.cpp » ('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) 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 #define WILL_BE_USING_PRE_FINALIZER(Class, method) 127 #define WILL_BE_USING_PRE_FINALIZER(Class, method)
128 #endif 128 #endif
129 129
130 // List of typed heaps. The list is used to generate the implementation 130 // List of typed heaps. The list is used to generate the implementation
131 // of typed heap related methods. 131 // of typed heap related methods.
132 // 132 //
133 // To create a new typed heap add a H(<ClassName>) to the 133 // To create a new typed heap add a H(<ClassName>) to the
134 // FOR_EACH_TYPED_HEAP macro below. 134 // FOR_EACH_TYPED_HEAP macro below.
135 #define FOR_EACH_TYPED_HEAP(H) \ 135 #define FOR_EACH_TYPED_HEAP(H) \
136 H(Node) \ 136 H(Node) \
137 H(CSSValue) 137 H(CSSValueObject)
138 138
139 #define TypedHeapEnumName(Type) Type##HeapIndex, 139 #define TypedHeapEnumName(Type) Type##HeapIndex,
140 140
141 enum HeapIndices { 141 enum HeapIndices {
142 EagerSweepHeapIndex = 0, 142 EagerSweepHeapIndex = 0,
143 NormalPage1HeapIndex, 143 NormalPage1HeapIndex,
144 NormalPage2HeapIndex, 144 NormalPage2HeapIndex,
145 NormalPage3HeapIndex, 145 NormalPage3HeapIndex,
146 NormalPage4HeapIndex, 146 NormalPage4HeapIndex,
147 Vector1HeapIndex, 147 Vector1HeapIndex,
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 }; 775 };
776 776
777 template<> class ThreadStateFor<AnyThread> { 777 template<> class ThreadStateFor<AnyThread> {
778 public: 778 public:
779 static ThreadState* state() { return ThreadState::current(); } 779 static ThreadState* state() { return ThreadState::current(); }
780 }; 780 };
781 781
782 } // namespace blink 782 } // namespace blink
783 783
784 #endif // ThreadState_h 784 #endif // ThreadState_h
OLDNEW
« no previous file with comments | « Source/core/style/StylePendingImage.h ('k') | Source/web/PluginPlaceholderImplTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698