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

Unified Diff: Source/platform/graphics/GradientGeneratedImage.cpp

Issue 476683002: Cleanup namespace usage in platform/graphics/[G-S]* (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
« no previous file with comments | « Source/platform/graphics/GradientGeneratedImage.h ('k') | Source/platform/graphics/GraphicsContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/GradientGeneratedImage.cpp
diff --git a/Source/platform/graphics/GradientGeneratedImage.cpp b/Source/platform/graphics/GradientGeneratedImage.cpp
index 27308263994301605e95bc0fb34160c66607be12..8b20e225983142fd60d7d74a4e8b4b4d9947eb31 100644
--- a/Source/platform/graphics/GradientGeneratedImage.cpp
+++ b/Source/platform/graphics/GradientGeneratedImage.cpp
@@ -31,7 +31,7 @@
namespace blink {
-void GradientGeneratedImage::draw(GraphicsContext* destContext, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator compositeOp, blink::WebBlendMode blendMode)
+void GradientGeneratedImage::draw(GraphicsContext* destContext, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator compositeOp, WebBlendMode blendMode)
{
GraphicsContextStateSaver stateSaver(*destContext);
destContext->setCompositeOperation(compositeOp, blendMode);
@@ -45,7 +45,7 @@ void GradientGeneratedImage::draw(GraphicsContext* destContext, const FloatRect&
}
void GradientGeneratedImage::drawPattern(GraphicsContext* destContext, const FloatRect& srcRect, const FloatSize& scale,
- const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& destRect, blink::WebBlendMode blendMode, const IntSize& repeatSpacing)
+ const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& destRect, WebBlendMode blendMode, const IntSize& repeatSpacing)
{
float stepX = srcRect.width() + repeatSpacing.width();
float stepY = srcRect.height() + repeatSpacing.height();
@@ -99,4 +99,4 @@ void GradientGeneratedImage::drawPattern(GraphicsContext* destContext, const Flo
}
}
-}
+} // namespace blink
« no previous file with comments | « Source/platform/graphics/GradientGeneratedImage.h ('k') | Source/platform/graphics/GraphicsContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698