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

Unified Diff: chrome/browser/resources/print_preview/data/destination_store.js

Issue 588713002: Compile print_preview, part 3: reduce down to 185 errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@I_print_preview_2
Patch Set: fix assert Created 6 years, 3 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/data/destination_store.js
diff --git a/chrome/browser/resources/print_preview/data/destination_store.js b/chrome/browser/resources/print_preview/data/destination_store.js
index 704e41859000b379fbf59e87383a43c2befdbee1..8eb788bdd75ddd58ee14df966541642b10515da2 100644
--- a/chrome/browser/resources/print_preview/data/destination_store.js
+++ b/chrome/browser/resources/print_preview/data/destination_store.js
@@ -291,6 +291,7 @@ cr.define('print_preview', function() {
!this.appState_.selectedDestinationOrigin) {
this.selectDefaultDestination_();
} else {
+ assert(typeof this.appState_.selectedDestinationAccount == 'string');
var key = this.getDestinationKey_(
this.appState_.selectedDestinationOrigin,
this.appState_.selectedDestinationId,

Powered by Google App Engine
This is Rietveld 408576698