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

Unified Diff: third_party/WebKit/Source/platform/graphics/PathTraversalState.cpp

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.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/PathTraversalState.cpp b/third_party/WebKit/Source/platform/graphics/PathTraversalState.cpp
index c85b43289347fed70b80931abd29c1d35919ff8b..391993317052fddce4f98dae1974a6c3c15ad380 100644
--- a/third_party/WebKit/Source/platform/graphics/PathTraversalState.cpp
+++ b/third_party/WebKit/Source/platform/graphics/PathTraversalState.cpp
@@ -36,6 +36,7 @@ static inline float distanceLine(const FloatPoint& start, const FloatPoint& end)
}
struct QuadraticBezier {
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
QuadraticBezier() { }
QuadraticBezier(const FloatPoint& s, const FloatPoint& c, const FloatPoint& e)
: start(s)
@@ -77,6 +78,7 @@ struct QuadraticBezier {
};
struct CubicBezier {
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
CubicBezier() { }
CubicBezier(const FloatPoint& s, const FloatPoint& c1, const FloatPoint& c2, const FloatPoint& e)
: start(s)

Powered by Google App Engine
This is Rietveld 408576698