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

Unified Diff: third_party/WebKit/Source/core/paint/NinePieceImageGrid.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, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/paint/NinePieceImageGrid.h
diff --git a/third_party/WebKit/Source/core/paint/NinePieceImageGrid.h b/third_party/WebKit/Source/core/paint/NinePieceImageGrid.h
index 7635484f4aa0e1b4470f547cfdca76a677265b3e..b23a07b9e479f3b915892448415b1251bba1dc92 100644
--- a/third_party/WebKit/Source/core/paint/NinePieceImageGrid.h
+++ b/third_party/WebKit/Source/core/paint/NinePieceImageGrid.h
@@ -82,7 +82,7 @@ public:
NinePieceDrawInfo getNinePieceDrawInfo(NinePiece) const;
struct Edge {
- DISALLOW_ALLOCATION();
+ DISALLOW_NEW();
bool isDrawable() const { return slice > 0 && width > 0; }
float scale() const { return isDrawable() ? (float)width / slice : 1; }
int slice;
« no previous file with comments | « third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h ('k') | third_party/WebKit/Source/core/paint/PaintInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698