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

Unified Diff: Source/web/tests/WebPluginContainerTest.cpp

Issue 1196433005: Change return type of the printPage (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed printPage extra parameter changes from WebPluginContainerTest.cpp Created 5 years, 6 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
« no previous file with comments | « Source/web/WebPluginContainerImpl.cpp ('k') | public/web/WebPlugin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/WebPluginContainerTest.cpp
diff --git a/Source/web/tests/WebPluginContainerTest.cpp b/Source/web/tests/WebPluginContainerTest.cpp
index a9b80beeb8d52710707e3068a2191490296e7915..ab664c0ffc5e3a6e539b779de91fd0ac4026c559 100644
--- a/Source/web/tests/WebPluginContainerTest.cpp
+++ b/Source/web/tests/WebPluginContainerTest.cpp
@@ -93,7 +93,7 @@ public:
WebString selectionAsMarkup() const override { return WebString("y"); }
bool supportsPaginatedPrint() override { return true; }
int printBegin(const WebPrintParams& printParams) override { return 1; }
- void printPage(int pageNumber, WebCanvas*, bool unused) override;
+ void printPage(int pageNumber, WebCanvas*) override;
private:
TestPluginWebFrameClient* m_testClient;
};
@@ -116,7 +116,7 @@ private:
bool m_printedPage = false;
};
-void TestPlugin::printPage(int pageNumber, WebCanvas* canvas, bool unused)
+void TestPlugin::printPage(int pageNumber, WebCanvas* canvas)
{
ASSERT(m_testClient);
m_testClient->onPrintPage();
« no previous file with comments | « Source/web/WebPluginContainerImpl.cpp ('k') | public/web/WebPlugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698