| 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_();
|
| },
|
|
|
|
|