summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/chrome_mock_render_thread.cc3
-rw-r--r--chrome/renderer/chrome_mock_render_thread.h2
-rw-r--r--chrome/renderer/print_web_view_helper_linux.cc3
3 files changed, 3 insertions, 5 deletions
diff --git a/chrome/renderer/chrome_mock_render_thread.cc b/chrome/renderer/chrome_mock_render_thread.cc
index 418bf93..d3abcab 100644
--- a/chrome/renderer/chrome_mock_render_thread.cc
+++ b/chrome/renderer/chrome_mock_render_thread.cc
@@ -85,8 +85,7 @@ void ChromeMockRenderThread::OnAllocateTempFileForPrinting(
}
}
-void ChromeMockRenderThread::OnTempFileForPrintingWritten(int render_view_id,
- int browser_fd) {
+void ChromeMockRenderThread::OnTempFileForPrintingWritten(int browser_fd) {
close(browser_fd);
}
#endif // defined(OS_CHROMEOS)
diff --git a/chrome/renderer/chrome_mock_render_thread.h b/chrome/renderer/chrome_mock_render_thread.h
index b74a133..aca5597 100644
--- a/chrome/renderer/chrome_mock_render_thread.h
+++ b/chrome/renderer/chrome_mock_render_thread.h
@@ -60,7 +60,7 @@ class ChromeMockRenderThread : public content::MockRenderThread {
#if defined(OS_CHROMEOS)
void OnAllocateTempFileForPrinting(base::FileDescriptor* renderer_fd,
int* browser_fd);
- void OnTempFileForPrintingWritten(int render_view_id, int browser_fd);
+ void OnTempFileForPrintingWritten(int browser_fd);
#endif
// PrintWebViewHelper expects default print settings.
diff --git a/chrome/renderer/print_web_view_helper_linux.cc b/chrome/renderer/print_web_view_helper_linux.cc
index bde6966..a132019 100644
--- a/chrome/renderer/print_web_view_helper_linux.cc
+++ b/chrome/renderer/print_web_view_helper_linux.cc
@@ -82,8 +82,7 @@ bool PrintWebViewHelper::PrintPages(WebFrame* frame, const WebNode& node) {
return false;
// Tell the browser we've finished writing the file.
- Send(new PrintHostMsg_TempFileForPrintingWritten(routing_id(),
- sequence_number));
+ Send(new PrintHostMsg_TempFileForPrintingWritten(sequence_number));
return true;
#else
PrintHostMsg_DidPrintPage_Params printed_page_params;