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

Unified Diff: chrome/browser/resources/print_preview/search/destination_search.js

Issue 595153003: Compile print_preview, part 5: reduce down to 104 errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@I_print_preview_4
Patch Set: fix a comment 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/search/destination_search.js
diff --git a/chrome/browser/resources/print_preview/search/destination_search.js b/chrome/browser/resources/print_preview/search/destination_search.js
index f7054dae67edccc0eaa7b44595c806798b71b3a1..78febfe27eb6de41c7d49a7cba5f5ebe735ad04c 100644
--- a/chrome/browser/resources/print_preview/search/destination_search.js
+++ b/chrome/browser/resources/print_preview/search/destination_search.js
@@ -31,7 +31,7 @@ cr.define('print_preview', function() {
/**
* Data store holding printer sharing invitations.
- * @type {!print_preview.DestinationStore}
+ * @type {!print_preview.InvitationStore}
* @private
*/
this.invitationStore_ = invitationStore;
@@ -470,7 +470,7 @@ cr.define('print_preview', function() {
},
/**
- * @param {!printe_preview.Invitation} invitation Invitation to show.
+ * @param {!print_preview.Invitation} invitation Invitation to show.
* @private
*/
showInvitation_: function(invitation) {
@@ -661,7 +661,8 @@ cr.define('print_preview', function() {
* @private
*/
onInvitationProcessButtonClick_: function(accept) {
- this.invitationStore_.processInvitation(this.invitation_, accept);
+ var invitation = assert(this.invitation_);
+ this.invitationStore_.processInvitation(invitation, accept);
this.updateInvitations_();
},

Powered by Google App Engine
This is Rietveld 408576698