Index: third_party/WebKit/Source/core/layout/LayoutState.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutState.h b/third_party/WebKit/Source/core/layout/LayoutState.h |
index 178463d12d66e8d98967859496ea7c8be42502b0..959e79478a215de2d9a43b5e61d90061a0366c40 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutState.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutState.h |
@@ -63,7 +63,7 @@ class LayoutState { |
// LayoutState is always allocated on the stack. |
// The reason is that it is scoped to layout, thus we can avoid expensive |
// mallocs. |
- DISALLOW_ALLOCATION(); |
+ DISALLOW_NEW(); |
WTF_MAKE_NONCOPYABLE(LayoutState); |
public: |
// Constructor for root LayoutState created by LayoutView |