| Index: chrome/test/automation/javascript_execution_controller.cc
|
| diff --git a/chrome/test/automation/javascript_execution_controller.cc b/chrome/test/automation/javascript_execution_controller.cc
|
| index 5be6b983fb7647993aa1d6fdae3923c185569679..f7fce90089ddc2a5091aad0a12c8de6f4b4ce39b 100644
|
| --- a/chrome/test/automation/javascript_execution_controller.cc
|
| +++ b/chrome/test/automation/javascript_execution_controller.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -89,7 +89,7 @@ bool JavaScriptExecutionController::ExecuteAndParseHelper(
|
| bool success;
|
| std::string evaluation_error;
|
| Value* evaluation_result_value;
|
| - if (!root_value->IsType(Value::TYPE_LIST)) {
|
| + if (!root_value->IsList()) {
|
| LOG(ERROR) << "JSON response was not in correct format";
|
| return false;
|
| }
|
|
|