Index: Source/web/WebPluginContainerImpl.cpp |
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp |
index e5c0cf6b2de18c878c6e93251574c2ba41e8d822..5d8520601b7e7c91e714b6d0e6668d82b125ffb4 100644 |
--- a/Source/web/WebPluginContainerImpl.cpp |
+++ b/Source/web/WebPluginContainerImpl.cpp |
@@ -352,16 +352,16 @@ int WebPluginContainerImpl::printBegin(const WebPrintParams& printParams) const |
return m_webPlugin->printBegin(printParams); |
} |
-bool WebPluginContainerImpl::printPage(int pageNumber, GraphicsContext* gc, const IntRect& printRect) |
+void WebPluginContainerImpl::printPage(int pageNumber, GraphicsContext* gc, const IntRect& printRect) |
{ |
LayoutObjectDrawingRecorder drawingRecorder(*gc, *m_element->layoutObject(), DisplayItem::Type::WebPlugin, printRect); |
if (drawingRecorder.canUseCachedDrawing()) |
- return true; |
+ return; |
gc->save(); |
WebCanvas* canvas = gc->canvas(); |
- bool ret = m_webPlugin->printPage(pageNumber, canvas); |
+ // TODO: Remove third parameter when both blink and chromium changes land for bug496765 |
+ m_webPlugin->printPage(pageNumber, canvas, false); |
gc->restore(); |
- return ret; |
} |
void WebPluginContainerImpl::printEnd() |