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

Unified Diff: chrome/browser/printing/print_view_manager.cc

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 8 years, 10 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
Index: chrome/browser/printing/print_view_manager.cc
diff --git a/chrome/browser/printing/print_view_manager.cc b/chrome/browser/printing/print_view_manager.cc
index 9d6c03c82f9281bfcb8df10fe34715282de127e0..3fcab11cb8c46052046b89edc189ba511f8fd270 100644
--- a/chrome/browser/printing/print_view_manager.cc
+++ b/chrome/browser/printing/print_view_manager.cc
@@ -134,7 +134,7 @@ void PrintViewManager::PreviewPrintingRequestCancelled() {
if (!web_contents())
return;
RenderViewHost* rvh = web_contents()->GetRenderViewHost();
- rvh->Send(new PrintMsg_PreviewPrintingRequestCancelled(rvh->routing_id()));
+ rvh->Send(new PrintMsg_PreviewPrintingRequestCancelled(rvh->GetRoutingID()));
}
void PrintViewManager::set_observer(PrintViewManagerObserver* observer) {
@@ -487,7 +487,7 @@ void PrintViewManager::PrintingDone(bool success) {
if (!print_job_.get() || !web_contents())
return;
RenderViewHost* rvh = web_contents()->GetRenderViewHost();
- rvh->Send(new PrintMsg_PrintingDone(rvh->routing_id(), success));
+ rvh->Send(new PrintMsg_PrintingDone(rvh->GetRoutingID(), success));
}
void PrintViewManager::TerminatePrintJob(bool cancel) {

Powered by Google App Engine
This is Rietveld 408576698