Index: third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h |
diff --git a/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h b/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h |
index b5b0ac83a90d794079bd3085cd98e8eb95c3369a..cadb9b84bac348aaf92457ae6394d0e85080eb8c 100644 |
--- a/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h |
+++ b/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h |
@@ -20,7 +20,7 @@ class GraphicsContext; |
// Convenience wrapper of DrawingRecorder for LayoutObject painters. |
class LayoutObjectDrawingRecorder final { |
- ALLOW_ONLY_INLINE_ALLOCATION(); |
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
public: |
static bool useCachedDrawingIfPossible(GraphicsContext& context, const LayoutObject& layoutObject, DisplayItem::Type displayItemType, const LayoutPoint& paintOffset) |
{ |