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

Unified Diff: chrome/browser/automation/testing_automation_provider.cc

Issue 7202012: Print Preview: Display a throbber when the user requests the system print (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. Created 9 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
Index: chrome/browser/automation/testing_automation_provider.cc
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index abde4919d9358604cac327c1bcfa607f41ed08c1..2c0e32ffc530b828fef7b73f59c29c87e38c55bd 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -1476,7 +1476,7 @@ void TestingAutomationProvider::PrintNow(int tab_handle,
TabContentsWrapper* wrapper =
TabContentsWrapper::GetCurrentWrapperForContents(tab_contents);
- if (!wrapper->print_view_manager()->PrintNow()) {
+ if (!wrapper->print_view_manager()->PrintNow(NULL)) {
// Clean up the observer. It will send the reply message.
delete observer;
}

Powered by Google App Engine
This is Rietveld 408576698