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

Unified Diff: third_party/WebKit/Source/platform/graphics/PathTraversalState.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/PathTraversalState.h
diff --git a/third_party/WebKit/Source/platform/graphics/PathTraversalState.h b/third_party/WebKit/Source/platform/graphics/PathTraversalState.h
index 575c79ee7709744d11c1bcacba515e357fdb1c28..24d906857b4c66500ea470aedae21b4ee341ed26 100644
--- a/third_party/WebKit/Source/platform/graphics/PathTraversalState.h
+++ b/third_party/WebKit/Source/platform/graphics/PathTraversalState.h
@@ -28,10 +28,13 @@
#include "platform/PlatformExport.h"
#include "platform/geometry/FloatPoint.h"
+#include "wtf/Allocator.h"
namespace blink {
-class PLATFORM_EXPORT PathTraversalState {
+class PLATFORM_EXPORT PathTraversalState final {
+ STACK_ALLOCATED();
+ WTF_MAKE_NONCOPYABLE(PathTraversalState);
public:
enum PathTraversalAction {
TraversalTotalLength,

Powered by Google App Engine
This is Rietveld 408576698