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 29ec1c3a4c3e609782e96f7db277eda072b2cd96..aeac91e91e18cbac786c76afeaeab8bbdea5436b 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; |
} |