| Index: chrome/test/data/webui/print_preview.js
|
| diff --git a/chrome/test/data/webui/print_preview.js b/chrome/test/data/webui/print_preview.js
|
| index 7d64f2e42b9a485728d405cba2aec18c546b4556..d01c54386aa7e1136bc30143b09c7c7f751aa252 100644
|
| --- a/chrome/test/data/webui/print_preview.js
|
| +++ b/chrome/test/data/webui/print_preview.js
|
| @@ -111,9 +111,9 @@ PrintPreviewWebUITest.prototype = {
|
| __proto__: cr.EventTarget.prototype,
|
| search: function(isRecent) {}
|
| };
|
| - var oldCpInterfaceEventType = cloudprint.CloudPrintInterface.EventType;
|
| + var oldCpInterfaceEventType = cloudprint.CloudPrintInterfaceEventType;
|
| cloudprint.CloudPrintInterface = CloudPrintInterfaceStub;
|
| - cloudprint.CloudPrintInterface.EventType = oldCpInterfaceEventType;
|
| + cloudprint.CloudPrintInterfaceEventType = oldCpInterfaceEventType;
|
|
|
| print_preview.PreviewArea.prototype.checkPluginCompatibility_ =
|
| function() {
|
| @@ -311,7 +311,7 @@ TEST_F('PrintPreviewWebUITest', 'TestPrinterListCloudEmpty', function() {
|
| this.nativeLayer_.dispatchEvent(cloudPrintEnableEvent);
|
|
|
| var searchDoneEvent =
|
| - new Event(cloudprint.CloudPrintInterface.EventType.SEARCH_DONE);
|
| + new Event(cloudprint.CloudPrintInterfaceEventType.SEARCH_DONE);
|
| searchDoneEvent.printers = [];
|
| searchDoneEvent.isRecent = true;
|
| searchDoneEvent.email = 'foo@chromium.org';
|
|
|