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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintChunkProperties.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/PaintChunkProperties.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintChunkProperties.h b/third_party/WebKit/Source/platform/graphics/paint/PaintChunkProperties.h
index 735cde0fca74308b089e92586c1e9c111a755380..14f5e1e2851bf92b6918f198128f146f60d73d9d 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintChunkProperties.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintChunkProperties.h
@@ -8,7 +8,8 @@
#include "platform/graphics/paint/ClipPaintPropertyNode.h"
#include "platform/graphics/paint/EffectPaintPropertyNode.h"
#include "platform/graphics/paint/TransformPaintPropertyNode.h"
-
+#include "wtf/Allocator.h"
+#include "wtf/Noncopyable.h"
#include <iosfwd>
namespace blink {
@@ -23,6 +24,7 @@ namespace blink {
// This differs from |ObjectPaintProperties| because it only stores one property
// for each type (e.g., either transform or perspective, but not both).
struct PaintChunkProperties {
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
// TODO(pdr): Add clip and scroll properties.
RefPtr<TransformPaintPropertyNode> transform;
RefPtr<ClipPaintPropertyNode> clip;

Powered by Google App Engine
This is Rietveld 408576698