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

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

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « Source/platform/graphics/filters/FEComposite.h ('k') | Source/platform/graphics/filters/FEConvolveMatrix.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/filters/FEComposite.cpp
diff --git a/Source/platform/graphics/filters/FEComposite.cpp b/Source/platform/graphics/filters/FEComposite.cpp
index 532b186b29084225cae2620f8db4ea7f1577c84c..23e94500c2e6f71f5496384da209981cca52a275 100644
--- a/Source/platform/graphics/filters/FEComposite.cpp
+++ b/Source/platform/graphics/filters/FEComposite.cpp
@@ -38,7 +38,7 @@
#include "wtf/Uint8ClampedArray.h"
-namespace WebCore {
+namespace blink {
FEComposite::FEComposite(Filter* filter, const CompositeOperationType& type, float k1, float k2, float k3, float k4)
: FilterEffect(filter)
@@ -357,18 +357,18 @@ void FEComposite::applySoftware()
}
}
-SkXfermode::Mode toXfermode(WebCore::CompositeOperationType mode)
+SkXfermode::Mode toXfermode(blink::CompositeOperationType mode)
{
switch (mode) {
- case WebCore::FECOMPOSITE_OPERATOR_OVER:
+ case blink::FECOMPOSITE_OPERATOR_OVER:
return SkXfermode::kSrcOver_Mode;
- case WebCore::FECOMPOSITE_OPERATOR_IN:
+ case blink::FECOMPOSITE_OPERATOR_IN:
return SkXfermode::kSrcIn_Mode;
- case WebCore::FECOMPOSITE_OPERATOR_OUT:
+ case blink::FECOMPOSITE_OPERATOR_OUT:
return SkXfermode::kSrcOut_Mode;
- case WebCore::FECOMPOSITE_OPERATOR_ATOP:
+ case blink::FECOMPOSITE_OPERATOR_ATOP:
return SkXfermode::kSrcATop_Mode;
- case WebCore::FECOMPOSITE_OPERATOR_XOR:
+ case blink::FECOMPOSITE_OPERATOR_XOR:
return SkXfermode::kXor_Mode;
default:
ASSERT_NOT_REACHED();
@@ -441,4 +441,4 @@ TextStream& FEComposite::externalRepresentation(TextStream& ts, int indent) cons
return ts;
}
-} // namespace WebCore
+} // namespace blink
« no previous file with comments | « Source/platform/graphics/filters/FEComposite.h ('k') | Source/platform/graphics/filters/FEConvolveMatrix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698