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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FEComponentTransfer.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/filters/FEComponentTransfer.h
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEComponentTransfer.h b/third_party/WebKit/Source/platform/graphics/filters/FEComponentTransfer.h
index 65419e481f2f5c77c35344b98f9f68b87b8ed1bc..173e3c9873814696301f2b5397c1ebb78f3572df 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FEComponentTransfer.h
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEComponentTransfer.h
@@ -38,6 +38,7 @@ enum ComponentTransferType {
};
struct ComponentTransferFunction {
+ DISALLOW_NEW();
ComponentTransferFunction()
: type(FECOMPONENTTRANSFER_TYPE_UNKNOWN)
, slope(0)
@@ -59,7 +60,7 @@ struct ComponentTransferFunction {
Vector<float> tableValues;
};
-class PLATFORM_EXPORT FEComponentTransfer : public FilterEffect {
+class PLATFORM_EXPORT FEComponentTransfer final : public FilterEffect {
public:
static PassRefPtrWillBeRawPtr<FEComponentTransfer> create(Filter*, const ComponentTransferFunction& redFunc, const ComponentTransferFunction& greenFunc,
const ComponentTransferFunction& blueFunc, const ComponentTransferFunction& alphaFunc);

Powered by Google App Engine
This is Rietveld 408576698