Index: chrome/browser/automation/testing_automation_provider.cc |
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc |
index adb651d306947ec37467e07d185592bd1c8bb85b..c2c709c3e26f7c202f3e65db5ded43d3ab625bcf 100644 |
--- a/chrome/browser/automation/testing_automation_provider.cc |
+++ b/chrome/browser/automation/testing_automation_provider.cc |
@@ -1166,10 +1166,10 @@ void TestingAutomationProvider::OpenNewBrowserWindowOfType( |
void TestingAutomationProvider::OpenNewBrowserWindow( |
base::DictionaryValue* args, |
IPC::Message* reply_message) { |
- AutomationJSONReply reply(this, reply_message); |
bool show; |
if (!args->GetBoolean("show", &show)) { |
- reply.SendError("'show' missing or invalid."); |
+ AutomationJSONReply(this, reply_message) |
+ .SendError("'show' missing or invalid."); |
return; |
} |
new BrowserOpenedNotificationObserver(this, reply_message, true); |