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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.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/GraphicsLayerDebugInfo.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h
index b5ebc2cc0c9f92b5f313c448e73359323ee0499e..ccc64fadde376e15ef523b2cf79c2877979d4833 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h
@@ -35,6 +35,8 @@
#include "platform/geometry/FloatRect.h"
#include "platform/graphics/CompositingReasons.h"
#include "platform/graphics/PaintInvalidationReason.h"
+#include "wtf/Allocator.h"
+#include "wtf/Noncopyable.h"
#include "wtf/Vector.h"
namespace base {
@@ -45,7 +47,9 @@ class TracedValue;
namespace blink {
-class GraphicsLayerDebugInfo {
+class GraphicsLayerDebugInfo final {
+ DISALLOW_NEW();
+ WTF_MAKE_NONCOPYABLE(GraphicsLayerDebugInfo);
public:
GraphicsLayerDebugInfo();
~GraphicsLayerDebugInfo();
@@ -65,6 +69,7 @@ private:
void appendOwnerNodeId(base::trace_event::TracedValue*) const;
struct AnnotatedInvalidationRect {
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
FloatRect rect;
PaintInvalidationReason reason;
};

Powered by Google App Engine
This is Rietveld 408576698