| Index: sky/engine/web/PageWidgetDelegate.cpp
|
| diff --git a/sky/engine/web/PageWidgetDelegate.cpp b/sky/engine/web/PageWidgetDelegate.cpp
|
| index c13ec87ed58423a7f2a928df2c5342a097a86234..585da257aea1da1a500274cad732a47b0e762599 100644
|
| --- a/sky/engine/web/PageWidgetDelegate.cpp
|
| +++ b/sky/engine/web/PageWidgetDelegate.cpp
|
| @@ -41,7 +41,6 @@
|
| #include "platform/Logging.h"
|
| #include "platform/graphics/GraphicsContext.h"
|
| #include "public/web/WebInputEvent.h"
|
| -#include "web/PageOverlayList.h"
|
| #include "web/WebInputEventConversion.h"
|
| #include "wtf/CurrentTime.h"
|
|
|
| @@ -80,7 +79,7 @@ void PageWidgetDelegate::layout(Page* page, LocalFrame* rootFrame)
|
| page->animator().updateLayoutAndStyleForPainting(rootFrame);
|
| }
|
|
|
| -void PageWidgetDelegate::paint(Page* page, PageOverlayList* overlays, WebCanvas* canvas, const WebRect& rect, CanvasBackground background, LocalFrame* rootFrame)
|
| +void PageWidgetDelegate::paint(Page* page, WebCanvas* canvas, const WebRect& rect, CanvasBackground background, LocalFrame* rootFrame)
|
| {
|
| if (rect.isEmpty())
|
| return;
|
| @@ -94,8 +93,6 @@ void PageWidgetDelegate::paint(Page* page, PageOverlayList* overlays, WebCanvas*
|
| if (view) {
|
| gc.clip(dirtyRect);
|
| view->paint(&gc, dirtyRect);
|
| - if (overlays)
|
| - overlays->paintWebFrame(gc);
|
| } else {
|
| gc.fillRect(dirtyRect, Color::white);
|
| }
|
|
|