Index: chrome/common/web_resource/web_resource_unpacker.cc |
diff --git a/chrome/common/web_resource/web_resource_unpacker.cc b/chrome/common/web_resource/web_resource_unpacker.cc |
index e93ea36483d024364e16816e1a03a28e8c3d3dda..7d5048cc54a442d7f0dd5755146c616c10424c82 100644 |
--- a/chrome/common/web_resource/web_resource_unpacker.cc |
+++ b/chrome/common/web_resource/web_resource_unpacker.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2009 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. |
@@ -32,7 +32,7 @@ bool WebResourceUnpacker::Run() { |
error_message_ = kInvalidDataTypeError; |
return false; |
} |
- if (!value->IsType(Value::TYPE_DICTIONARY)) { |
+ if (!value->IsDictionary()) { |
error_message_ = kUnexpectedJSONFormatError; |
return false; |
} |