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

Unified Diff: chrome/browser/resources/print_preview/settings/page_settings.js

Issue 12209086: Page range comparisons should use document size. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/resources/print_preview/settings/page_settings.js
diff --git a/chrome/browser/resources/print_preview/settings/page_settings.js b/chrome/browser/resources/print_preview/settings/page_settings.js
index 95bd52539cc9c67d0377e73d268189ad0cf5c74b..c83a67b32f1c0b357c7f15526d1c2a6a5910bdff 100644
--- a/chrome/browser/resources/print_preview/settings/page_settings.js
+++ b/chrome/browser/resources/print_preview/settings/page_settings.js
@@ -218,7 +218,7 @@ cr.define('print_preview', function() {
*/
onPrintTicketStoreChange_: function() {
if (this.printTicketStore_.hasPageRangeCapability()) {
- var pageRangeStr = this.printTicketStore_.getPageRangeStr();
+ var pageRangeStr = this.printTicketStore_.getPageRange().getValue();
if (pageRangeStr || this.customRadio_.checked) {
if (!document.hasFocus() ||
document.activeElement != this.customInput_) {

Powered by Google App Engine
This is Rietveld 408576698