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

Unified Diff: Source/core/svg/ColorDistance.h

Issue 1321453012: Added allocator matcros to blink classes and structures in core/svg. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months 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
« no previous file with comments | « no previous file | Source/core/svg/GradientAttributes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/ColorDistance.h
diff --git a/Source/core/svg/ColorDistance.h b/Source/core/svg/ColorDistance.h
index 89b11d86a7181d64c7ef317467e1ae60f8531b3a..9c6d2524c59276baa9495cf6d258d52f20793beb 100644
--- a/Source/core/svg/ColorDistance.h
+++ b/Source/core/svg/ColorDistance.h
@@ -20,11 +20,14 @@
#ifndef ColorDistance_h
#define ColorDistance_h
+#include "wtf/Allocator.h"
+
namespace blink {
class Color;
class ColorDistance {
+ STATIC_ONLY(ColorDistance);
public:
static Color addColors(const Color&, const Color&);
static float distance(const Color& fromColor, const Color& toColor);
« no previous file with comments | « no previous file | Source/core/svg/GradientAttributes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698