| Index: chrome/browser/resources/print_preview/native_layer.js
|
| diff --git a/chrome/browser/resources/print_preview/native_layer.js b/chrome/browser/resources/print_preview/native_layer.js
|
| index 1e034c0bcf62a045414eecf803eb9f4340ef7776..e6ac8c19f646778c102c0fa6cdb50ad3c5b31159 100644
|
| --- a/chrome/browser/resources/print_preview/native_layer.js
|
| +++ b/chrome/browser/resources/print_preview/native_layer.js
|
| @@ -182,7 +182,7 @@ cr.define('print_preview', function() {
|
| };
|
|
|
| // Set 'cloudPrintID' only if the destination is not local.
|
| - if (!destination.isLocal) {
|
| + if (destination && !destination.isLocal) {
|
| ticket['cloudPrintID'] = destination.id;
|
| }
|
|
|
|
|