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

Unified Diff: Source/platform/graphics/GraphicsContext.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/GraphicsContext.h ('k') | Source/platform/graphics/GraphicsContextRecorder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/GraphicsContext.cpp
diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp
index 35e4d7b0479c0eb7a0dee538ca8dfd2c1a1b535d..f41b9d36094761e1bd04f34edfa1bb12bda06f0c 100644
--- a/Source/platform/graphics/GraphicsContext.cpp
+++ b/Source/platform/graphics/GraphicsContext.cpp
@@ -56,7 +56,6 @@
#include "wtf/MathExtras.h"
using namespace std;
-using blink::WebBlendMode;
namespace blink {
@@ -1056,7 +1055,7 @@ void GraphicsContext::drawImage(Image* image, const IntRect& r, CompositeOperato
void GraphicsContext::drawImage(Image* image, const FloatRect& dest, const FloatRect& src, CompositeOperator op, RespectImageOrientationEnum shouldRespectImageOrientation)
{
- drawImage(image, dest, src, op, blink::WebBlendModeNormal, shouldRespectImageOrientation);
+ drawImage(image, dest, src, op, WebBlendModeNormal, shouldRespectImageOrientation);
}
void GraphicsContext::drawImage(Image* image, const FloatRect& dest)
@@ -1901,7 +1900,7 @@ void GraphicsContext::preparePaintForDrawRectToRect(
const SkRect& srcRect,
const SkRect& destRect,
CompositeOperator compositeOp,
- blink::WebBlendMode blendMode,
+ WebBlendMode blendMode,
bool isLazyDecoded,
bool isDataComplete) const
{
@@ -1941,4 +1940,4 @@ void GraphicsContext::preparePaintForDrawRectToRect(
paint->setFilterLevel(static_cast<SkPaint::FilterLevel>(resampling));
}
-}
+} // namespace blink
« no previous file with comments | « Source/platform/graphics/GraphicsContext.h ('k') | Source/platform/graphics/GraphicsContextRecorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698