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 7b0ce330c4717589cae655fa646111bbf0e43070..173b1a2b2ec31ff6274070c5dbe79f8a41f677c7 100644 |
--- a/chrome/test/data/webui/print_preview.js |
+++ b/chrome/test/data/webui/print_preview.js |
@@ -37,7 +37,7 @@ PrintPreviewWebUITest.prototype = { |
function MockPrintPreviewHandler() {} |
MockPrintPreviewHandler.prototype = { |
- getDefaultPrinter: function() {}, |
+ getInitialSettings: function() {}, |
getPrinters: function() {}, |
getPreview: function(settings, draft_page_count, modifiable) {}, |
print: function(settings) {}, |
@@ -58,7 +58,7 @@ PrintPreviewWebUITest.prototype = { |
// called before tests run. Specific expectations can be made in the |
// tests themselves. |
var mockHandler = this.mockHandler = mock(MockPrintPreviewHandler); |
- mockHandler.stubs().getDefaultPrinter(). |
+ mockHandler.stubs().getInitialSettings(). |
will(callFunction(function() { |
setDefaultPrinter('FooDevice'); |
})); |