Commit 3197b92d authored by abodenha@chromium.org's avatar abodenha@chromium.org

Stop displaying button to launch system print dialog when preview fails.


BUG=122878
TEST=Verify 122878


Review URL: http://codereview.chromium.org/10048009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132481 0039d316-1c4b-4281-b951-d872f2087c98
parent 612bfffc
...@@ -799,10 +799,8 @@ function setColor(color) { ...@@ -799,10 +799,8 @@ function setColor(color) {
* Called from PrintPreviewMessageHandler::OnPrintPreviewFailed(). * Called from PrintPreviewMessageHandler::OnPrintPreviewFailed().
*/ */
function printPreviewFailed() { function printPreviewFailed() {
previewArea.displayErrorMessageWithButtonAndNotify( previewArea.displayErrorMessageAndNotify(
localStrings.getString('previewFailed'), localStrings.getString('previewFailed'));
localStrings.getString('launchNativeDialog'),
launchNativePrintDialog);
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment