summaryrefslogtreecommitdiffstats
path: root/components/bookmarks/browser/bookmark_codec_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/bookmarks/browser/bookmark_codec_unittest.cc')
-rw-r--r--components/bookmarks/browser/bookmark_codec_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/bookmarks/browser/bookmark_codec_unittest.cc b/components/bookmarks/browser/bookmark_codec_unittest.cc
index 9d529f8..8c45aea 100644
--- a/components/bookmarks/browser/bookmark_codec_unittest.cc
+++ b/components/bookmarks/browser/bookmark_codec_unittest.cc
@@ -359,8 +359,8 @@ TEST_F(BookmarkCodecTest, CanDecodeModelWithoutMobileBookmarks) {
GetTestDataDir().AppendASCII("bookmarks/model_without_sync.json");
ASSERT_TRUE(base::PathExists(test_file));
- JSONFileValueSerializer serializer(test_file);
- scoped_ptr<base::Value> root(serializer.Deserialize(NULL, NULL));
+ JSONFileValueDeserializer deserializer(test_file);
+ scoped_ptr<base::Value> root(deserializer.Deserialize(NULL, NULL));
scoped_ptr<BookmarkModel> decoded_model(client_.CreateModel());
BookmarkCodec decoder;
@@ -445,8 +445,8 @@ TEST_F(BookmarkCodecTest, CanDecodeMetaInfoAsString) {
GetTestDataDir().AppendASCII("bookmarks/meta_info_as_string.json");
ASSERT_TRUE(base::PathExists(test_file));
- JSONFileValueSerializer serializer(test_file);
- scoped_ptr<base::Value> root(serializer.Deserialize(NULL, NULL));
+ JSONFileValueDeserializer deserializer(test_file);
+ scoped_ptr<base::Value> root(deserializer.Deserialize(NULL, NULL));
scoped_ptr<BookmarkModel> model(client_.CreateModel());
BookmarkCodec decoder;