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

Unified Diff: third_party/WebKit/Source/platform/graphics/StrokeData.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/StrokeData.h
diff --git a/third_party/WebKit/Source/platform/graphics/StrokeData.h b/third_party/WebKit/Source/platform/graphics/StrokeData.h
index 4dccbf78c1446b67899d84311d4ad3dd57b7bea6..a126214d3d7b7b87652d7ad79793fb0c7a84997d 100644
--- a/third_party/WebKit/Source/platform/graphics/StrokeData.h
+++ b/third_party/WebKit/Source/platform/graphics/StrokeData.h
@@ -36,6 +36,7 @@
#include "platform/graphics/Pattern.h"
#include "third_party/skia/include/core/SkColorPriv.h"
#include "third_party/skia/include/effects/SkDashPathEffect.h"
+#include "wtf/Allocator.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefPtr.h"
@@ -43,7 +44,8 @@ namespace blink {
// Encapsulates stroke geometry information.
// It is pulled out of GraphicsContextState to enable other methods to use it.
-class PLATFORM_EXPORT StrokeData {
+class PLATFORM_EXPORT StrokeData final {
+ DISALLOW_NEW();
public:
StrokeData()
: m_style(SolidStroke)

Powered by Google App Engine
This is Rietveld 408576698