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

Unified Diff: third_party/WebKit/Source/web/PageOverlay.cpp

Issue 1412593003: Remove WebGraphicsContext/WebGraphicsContextImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove another include WebGraphicsContext.h Created 5 years, 2 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: 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*)

Powered by Google App Engine
This is Rietveld 408576698