Index: remoting/host/json_host_config.cc |
diff --git a/remoting/host/json_host_config.cc b/remoting/host/json_host_config.cc |
index 36b39f2eff284acfb3a7217c4b6d4e265eaa7031..0e3684737e33f0039065b8495800c8760c6c9348 100644 |
--- a/remoting/host/json_host_config.cc |
+++ b/remoting/host/json_host_config.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. |
@@ -31,7 +31,7 @@ bool JsonHostConfig::Read() { |
} |
scoped_ptr<Value> value(base::JSONReader::Read(file_content, true)); |
- if (value.get() == NULL || !value->IsType(Value::TYPE_DICTIONARY)) { |
+ if (value.get() == NULL || !value->IsDictionary()) { |
return false; |
} |