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

Unified Diff: chrome/browser/resources/print_preview/preview_generator.js

Issue 10826214: Fix document size not changing when switching between printers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/print_preview/preview_generator.js
diff --git a/chrome/browser/resources/print_preview/preview_generator.js b/chrome/browser/resources/print_preview/preview_generator.js
index 3b28cf4e1fe419dcef4ef03ec056c47f450fd548..b7f4ba67efcce12f6a0c17d19895c3307c9eab5c 100644
--- a/chrome/browser/resources/print_preview/preview_generator.js
+++ b/chrome/browser/resources/print_preview/preview_generator.js
@@ -258,11 +258,7 @@ cr.define('print_preview', function() {
!ticketStore.getCustomMargins().equals(
ticketStore.getDocumentMargins())) ||
(this.selectedDestination_ !=
- this.destinationStore_.selectedDestination &&
- (this.destinationStore_.selectedDestination.id ==
- print_preview.Destination.GooglePromotedId.SAVE_AS_PDF ||
- this.selectedDestination_.id ==
- print_preview.Destination.GooglePromotedId.SAVE_AS_PDF));
+ this.destinationStore_.selectedDestination);
},
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698