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

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: 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 627dd4add1f91ba3cf8ae2267b75d78c12cfe29f..6d957ced80e9e886c8619548e459f0d0f127de7c 100644
--- a/chrome/browser/resources/print_preview/data/destination_store.js
+++ b/chrome/browser/resources/print_preview/data/destination_store.js
@@ -294,7 +294,7 @@ cr.define('print_preview', function() {
var key = this.getDestinationKey_(
this.appState_.selectedDestinationOrigin,
this.appState_.selectedDestinationId,
- this.appState_.selectedDestinationAccount);
+ assert(this.appState_.selectedDestinationAccount));
var candidate = this.destinationMap_[key];
if (candidate != null) {
this.selectDestination(candidate);

Powered by Google App Engine
This is Rietveld 408576698