| Index: chrome/browser/resources/settings/printing_page/cups_printer_details_page.js
|
| diff --git a/chrome/browser/resources/settings/printing_page/cups_printer_details_page.js b/chrome/browser/resources/settings/printing_page/cups_printer_details_page.js
|
| index 5fc53e43043862749b21003753ac7d36c3e8bd49..57398578dbe86443043c42f5837a61c1bd6d5c6d 100644
|
| --- a/chrome/browser/resources/settings/printing_page/cups_printer_details_page.js
|
| +++ b/chrome/browser/resources/settings/printing_page/cups_printer_details_page.js
|
| @@ -35,8 +35,8 @@ Polymer({
|
| * @private
|
| */
|
| onValueChange_: function() {
|
| - this.browserProxy_.updateCupsPrinter(this.printer.printerId,
|
| - this.printer.printerName);
|
| + this.browserProxy_.updateCupsPrinter(
|
| + this.printer.printerId, this.printer.printerName);
|
| },
|
|
|
| /**
|
| @@ -82,12 +82,11 @@ Polymer({
|
| getPrinterURI_: function(printer) {
|
| if (!printer) {
|
| return '';
|
| - } else if (printer.printerProtocol &&
|
| - printer.printerAddress &&
|
| - printer.printerQueue) {
|
| - return printer.printerProtocol + '://' +
|
| - printer.printerAddress + '/' +
|
| - printer.printerQueue;
|
| + } else if (
|
| + printer.printerProtocol && printer.printerAddress &&
|
| + printer.printerQueue) {
|
| + return printer.printerProtocol + '://' + printer.printerAddress + '/' +
|
| + printer.printerQueue;
|
| } else if (printer.printerProtocol && printer.printerAddress) {
|
| return printer.printerProtocol + '://' + printer.printerAddress;
|
| } else {
|
|
|