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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h

Issue 1497683002: Make platform/graphics to use USING_FAST_MALLOC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/platform/graphics/paint/PaintChunk.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h b/third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h
index 1edf9f3738404b9dcfd000c625eef32522c71c68..5d4bc98c8bf0b18f30be7d520850d6942d1aa892 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h
@@ -6,6 +6,7 @@
#define PaintChunk_h
#include "platform/graphics/paint/PaintChunkProperties.h"
+#include "wtf/Allocator.h"
#include <iosfwd>
namespace blink {
@@ -17,6 +18,7 @@ namespace blink {
//
// This is a Slimming Paint v2 class.
struct PaintChunk {
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
PaintChunk() : beginIndex(0), endIndex(0) { }
PaintChunk(unsigned begin, unsigned end, const PaintChunkProperties& props)
: beginIndex(begin), endIndex(end), properties(props) { }

Powered by Google App Engine
This is Rietveld 408576698