Index: Source/web/WebPluginContainerImpl.cpp |
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp |
index 321b83fc03259f031267619049db92da780a7a41..a636f862c31c68860bdceb24032bc9e97f37731b 100644 |
--- a/Source/web/WebPluginContainerImpl.cpp |
+++ b/Source/web/WebPluginContainerImpl.cpp |
@@ -85,6 +85,7 @@ |
#include "public/web/WebInputEvent.h" |
#include "public/web/WebPlugin.h" |
#include "public/web/WebPrintParams.h" |
+#include "public/web/WebPrintPresetOptions.h" |
#include "public/web/WebViewClient.h" |
#include "web/ChromeClientImpl.h" |
#include "web/ScrollbarGroup.h" |
@@ -322,9 +323,9 @@ bool WebPluginContainerImpl::isPrintScalingDisabled() const |
return m_webPlugin->isPrintScalingDisabled(); |
} |
-int WebPluginContainerImpl::getCopiesToPrint() const |
+bool WebPluginContainerImpl::getPrintPresetOptionsFromDocument(WebPrintPresetOptions* presetOptions) const |
{ |
- return m_webPlugin->getCopiesToPrint(); |
+ return m_webPlugin->getPrintPresetOptionsFromDocument(presetOptions); |
} |
int WebPluginContainerImpl::printBegin(const WebPrintParams& printParams) const |