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

Unified Diff: Source/platform/graphics/filters/FilterOperation.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
Index: Source/platform/graphics/filters/FilterOperation.cpp
diff --git a/Source/platform/graphics/filters/FilterOperation.cpp b/Source/platform/graphics/filters/FilterOperation.cpp
index 2aaa74b836149fc0fd0cc6c3045430925374e672..a295293a4f52f20e9d8378a7a60f27a998c7df34 100644
--- a/Source/platform/graphics/filters/FilterOperation.cpp
+++ b/Source/platform/graphics/filters/FilterOperation.cpp
@@ -29,7 +29,7 @@
#include "platform/animation/AnimationUtilities.h"
-namespace WebCore {
+namespace blink {
PassRefPtr<FilterOperation> FilterOperation::blend(const FilterOperation* from, const FilterOperation* to, double progress)
{
@@ -61,7 +61,7 @@ PassRefPtr<FilterOperation> BasicColorMatrixFilterOperation::blend(const FilterO
}
}
- double result = WebCore::blend(fromAmount, m_amount, progress);
+ double result = blink::blend(fromAmount, m_amount, progress);
switch (m_type) {
case HUE_ROTATE:
break;
@@ -100,7 +100,7 @@ PassRefPtr<FilterOperation> BasicComponentTransferFilterOperation::blend(const F
}
}
- double result = WebCore::blend(fromAmount, m_amount, progress);
+ double result = blink::blend(fromAmount, m_amount, progress);
switch (m_type) {
case BRIGHTNESS:
case CONTRAST:
@@ -130,17 +130,17 @@ PassRefPtr<FilterOperation> DropShadowFilterOperation::blend(const FilterOperati
{
if (!from) {
return DropShadowFilterOperation::create(
- WebCore::blend(IntPoint(), m_location, progress),
- WebCore::blend(0, m_stdDeviation, progress),
- WebCore::blend(Color(Color::transparent), m_color, progress));
+ blink::blend(IntPoint(), m_location, progress),
+ blink::blend(0, m_stdDeviation, progress),
+ blink::blend(Color(Color::transparent), m_color, progress));
}
const DropShadowFilterOperation* fromOp = toDropShadowFilterOperation(from);
return DropShadowFilterOperation::create(
- WebCore::blend(fromOp->location(), m_location, progress),
- WebCore::blend(fromOp->stdDeviation(), m_stdDeviation, progress),
- WebCore::blend(fromOp->color(), m_color, progress));
+ blink::blend(fromOp->location(), m_location, progress),
+ blink::blend(fromOp->stdDeviation(), m_stdDeviation, progress),
+ blink::blend(fromOp->color(), m_color, progress));
}
-} // namespace WebCore
+} // namespace blink
« no previous file with comments | « Source/platform/graphics/filters/FilterOperation.h ('k') | Source/platform/graphics/filters/FilterOperations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698