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

Side by Side Diff: third_party/WebKit/Source/core/paint/ScopeRecorder.h

Issue 1406923009: Rename DISALLOW_ALLOCATION and ALLOW_ONLY_INLINE_ALLOCATION (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ScopeRecorder_h 5 #ifndef ScopeRecorder_h
6 #define ScopeRecorder_h 6 #define ScopeRecorder_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/graphics/paint/DisplayItem.h" 9 #include "platform/graphics/paint/DisplayItem.h"
10 #include "wtf/Allocator.h" 10 #include "wtf/Allocator.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class GraphicsContext; 14 class GraphicsContext;
15 class LayoutObject; 15 class LayoutObject;
16 class PaintController; 16 class PaintController;
17 17
18 class CORE_EXPORT ScopeRecorder { 18 class CORE_EXPORT ScopeRecorder {
19 ALLOW_ONLY_INLINE_ALLOCATION(); 19 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
20 public: 20 public:
21 ScopeRecorder(GraphicsContext&); 21 ScopeRecorder(GraphicsContext&);
22 22
23 ~ScopeRecorder(); 23 ~ScopeRecorder();
24 24
25 private: 25 private:
26 PaintController& m_paintController; 26 PaintController& m_paintController;
27 }; 27 };
28 28
29 } // namespace blink 29 } // namespace blink
30 30
31 #endif // ScopeRecorder_h 31 #endif // ScopeRecorder_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/RoundedInnerRectClipper.h ('k') | third_party/WebKit/Source/core/paint/ThemePainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698