Index: Source/platform/graphics/OpaqueRectTrackingContentLayerDelegate.cpp |
diff --git a/Source/platform/graphics/OpaqueRectTrackingContentLayerDelegate.cpp b/Source/platform/graphics/OpaqueRectTrackingContentLayerDelegate.cpp |
index 5d37bf26821315cd59c5911e9fe1f6e460b97550..703c45c7f25299f97586f9d9fe781f04147c80a9 100644 |
--- a/Source/platform/graphics/OpaqueRectTrackingContentLayerDelegate.cpp |
+++ b/Source/platform/graphics/OpaqueRectTrackingContentLayerDelegate.cpp |
@@ -33,9 +33,6 @@ |
#include "public/platform/WebFloatRect.h" |
#include "public/platform/WebRect.h" |
-using blink::WebFloatRect; |
-using blink::WebRect; |
- |
namespace blink { |
OpaqueRectTrackingContentLayerDelegate::OpaqueRectTrackingContentLayerDelegate(GraphicsContextPainter* painter) |
@@ -50,14 +47,14 @@ OpaqueRectTrackingContentLayerDelegate::~OpaqueRectTrackingContentLayerDelegate( |
void OpaqueRectTrackingContentLayerDelegate::paintContents( |
SkCanvas* canvas, const WebRect& clip, bool canPaintLCDText, WebFloatRect& opaque, |
- blink::WebContentLayerClient::GraphicsContextStatus contextStatus) |
+ WebContentLayerClient::GraphicsContextStatus contextStatus) |
{ |
static const unsigned char* annotationsEnabled = 0; |
if (UNLIKELY(!annotationsEnabled)) |
annotationsEnabled = EventTracer::getTraceCategoryEnabledFlag(TRACE_DISABLED_BY_DEFAULT("blink.graphics_context_annotations")); |
GraphicsContext context(canvas, |
- contextStatus == blink::WebContentLayerClient::GraphicsContextEnabled ? GraphicsContext::NothingDisabled : GraphicsContext::FullyDisabled); |
+ contextStatus == WebContentLayerClient::GraphicsContextEnabled ? GraphicsContext::NothingDisabled : GraphicsContext::FullyDisabled); |
context.setRegionTrackingMode(m_opaque ? GraphicsContext::RegionTrackingDisabled : GraphicsContext::RegionTrackingOpaque); |
context.setCertainlyOpaque(m_opaque); |
context.setShouldSmoothFonts(canPaintLCDText); |
@@ -77,4 +74,4 @@ void OpaqueRectTrackingContentLayerDelegate::paintContents( |
opaque = canvasToContentTransform.mapRect(context.opaqueRegion().asRect()); |
} |
-} |
+} // namespace blink |