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

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

Issue 464273002: Cleanup namespace usage in platform/graphics/[filters/* to skia/*] and platform/graphics/[B-D]* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
Index: Source/platform/graphics/filters/SkiaImageFilterBuilder.cpp
diff --git a/Source/platform/graphics/filters/SkiaImageFilterBuilder.cpp b/Source/platform/graphics/filters/SkiaImageFilterBuilder.cpp
index 15fc17645a86f9f9a562eda74b65296096253cae..8c4d6dbc1dc4943292c25555b4927236b57291fb 100644
--- a/Source/platform/graphics/filters/SkiaImageFilterBuilder.cpp
+++ b/Source/platform/graphics/filters/SkiaImageFilterBuilder.cpp
@@ -86,7 +86,7 @@ PassRefPtr<SkImageFilter> SkiaImageFilterBuilder::transformColorSpace(
return adoptRef(SkColorFilterImageFilter::Create(colorFilter.get(), input));
}
-void SkiaImageFilterBuilder::buildFilterOperations(const FilterOperations& operations, blink::WebFilterOperations* filters)
+void SkiaImageFilterBuilder::buildFilterOperations(const FilterOperations& operations, WebFilterOperations* filters)
{
ColorSpace currentColorSpace = ColorSpaceDeviceRGB;
SkImageFilter* const nullFilter = 0;
@@ -172,7 +172,7 @@ void SkiaImageFilterBuilder::buildFilterOperations(const FilterOperations& opera
}
case FilterOperation::DROP_SHADOW: {
const DropShadowFilterOperation& drop = toDropShadowFilterOperation(op);
- filters->appendDropShadowFilter(blink::WebPoint(drop.x(), drop.y()), drop.stdDeviation(), drop.color().rgb());
+ filters->appendDropShadowFilter(WebPoint(drop.x(), drop.y()), drop.stdDeviation(), drop.color().rgb());
break;
}
case FilterOperation::NONE:
@@ -191,4 +191,4 @@ PassRefPtr<SkImageFilter> SkiaImageFilterBuilder::buildTransform(const AffineTra
return adoptRef(SkMatrixImageFilter::Create(affineTransformToSkMatrix(transform), SkPaint::kHigh_FilterLevel, input));
}
-};
+} // namespace blink
« no previous file with comments | « Source/platform/graphics/filters/SkiaImageFilterBuilder.h ('k') | Source/platform/graphics/gpu/DrawingBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698