Index: chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java |
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java |
index e68e396813f89c8887068eae0321690f4d01e1b7..78f4b7f1d5dd0f25c5be9d7d53b06a24739352c3 100644 |
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java |
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java |
@@ -33,6 +33,7 @@ import org.chromium.content.browser.ActivityContentVideoViewClient; |
import org.chromium.content.browser.BrowserStartupController; |
import org.chromium.content.browser.ContentView; |
import org.chromium.content.browser.DeviceUtils; |
+import org.chromium.printing.PrintManagerDelegateImpl; |
import org.chromium.printing.PrintingController; |
import org.chromium.sync.signin.ChromeSigninController; |
import org.chromium.ui.base.ActivityWindowAndroid; |
@@ -232,7 +233,8 @@ public class ChromeShellActivity extends Activity implements AppMenuPropertiesDe |
return true; |
case R.id.print: |
if (getActiveTab() != null) { |
- mPrintingController.startPrint(new TabPrinter(getActiveTab())); |
+ mPrintingController.startPrint(new TabPrinter(getActiveTab()), |
+ new PrintManagerDelegateImpl(this)); |
} |
return true; |
case R.id.distill_page: |