Index: third_party/WebKit/Source/web/PageOverlay.cpp |
diff --git a/third_party/WebKit/Source/web/PageOverlay.cpp b/third_party/WebKit/Source/web/PageOverlay.cpp |
index 05138d5fb54f47f74ed91b034d695599a94db75c..04da2bdc16d43adc94c35eefe6ac7c8d1c068ef1 100644 |
--- a/third_party/WebKit/Source/web/PageOverlay.cpp |
+++ b/third_party/WebKit/Source/web/PageOverlay.cpp |
@@ -38,7 +38,6 @@ |
#include "public/platform/WebLayer.h" |
#include "public/web/WebViewClient.h" |
#include "web/WebDevToolsAgentImpl.h" |
-#include "web/WebGraphicsContextImpl.h" |
#include "web/WebViewImpl.h" |
namespace blink { |
@@ -105,8 +104,7 @@ void PageOverlay::paintContents(const GraphicsLayer* graphicsLayer, GraphicsCont |
void PageOverlay::paintContentsIfNeeded(const GraphicsLayer*, GraphicsContext& gc, GraphicsLayerPaintingPhase) const |
{ |
ASSERT(m_layer); |
- WebGraphicsContextImpl contextWrapper(gc, *this, DisplayItem::PageOverlay); |
- m_delegate->paintPageOverlay(&contextWrapper, expandedIntSize(m_layer->size())); |
+ m_delegate->paintPageOverlay(*this, gc, expandedIntSize(m_layer->size())); |
} |
String PageOverlay::debugName(const GraphicsLayer*) |