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

Unified Diff: Source/platform/graphics/filters/FEComponentTransfer.cpp

Issue 107713004: Move all filters-related files from core/platform to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Maybe fix win build. Created 7 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: Source/platform/graphics/filters/FEComponentTransfer.cpp
diff --git a/Source/core/platform/graphics/filters/FEComponentTransfer.cpp b/Source/platform/graphics/filters/FEComponentTransfer.cpp
similarity index 98%
rename from Source/core/platform/graphics/filters/FEComponentTransfer.cpp
rename to Source/platform/graphics/filters/FEComponentTransfer.cpp
index 842073ca701e524ff078fa4f53e9cf8cd83c818a..c554583071232944611defd58aeef82f4dbf5e7f 100644
--- a/Source/core/platform/graphics/filters/FEComponentTransfer.cpp
+++ b/Source/platform/graphics/filters/FEComponentTransfer.cpp
@@ -23,9 +23,10 @@
*/
#include "config.h"
+#include "platform/graphics/filters/FEComponentTransfer.h"
-#include "core/platform/graphics/filters/FEComponentTransfer.h"
-
+#include "SkColorFilterImageFilter.h"
+#include "SkTableColorFilter.h"
#include "platform/graphics/GraphicsContext.h"
#include "platform/graphics/filters/SkiaImageFilterBuilder.h"
#include "platform/graphics/skia/NativeImageSkia.h"
@@ -34,15 +35,12 @@
#include "wtf/StdLibExtras.h"
#include "wtf/Uint8ClampedArray.h"
-#include "SkColorFilterImageFilter.h"
-#include "SkTableColorFilter.h"
-
namespace WebCore {
typedef void (*TransferType)(unsigned char*, const ComponentTransferFunction&);
FEComponentTransfer::FEComponentTransfer(Filter* filter, const ComponentTransferFunction& redFunc, const ComponentTransferFunction& greenFunc,
- const ComponentTransferFunction& blueFunc, const ComponentTransferFunction& alphaFunc)
+ const ComponentTransferFunction& blueFunc, const ComponentTransferFunction& alphaFunc)
: FilterEffect(filter)
, m_redFunc(redFunc)
, m_greenFunc(greenFunc)
« no previous file with comments | « Source/platform/graphics/filters/FEComponentTransfer.h ('k') | Source/platform/graphics/filters/FEComposite.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698