diff options
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_codec_unittest.cc')
-rw-r--r-- | chrome/browser/bookmarks/bookmark_codec_unittest.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/bookmarks/bookmark_codec_unittest.cc b/chrome/browser/bookmarks/bookmark_codec_unittest.cc index 1b7a4d3..93a5d42 100644 --- a/chrome/browser/bookmarks/bookmark_codec_unittest.cc +++ b/chrome/browser/bookmarks/bookmark_codec_unittest.cc @@ -190,9 +190,6 @@ TEST_F(BookmarkCodecTest, PersistIDsTest) { BookmarkCodec encoder(true); scoped_ptr<Value> model_value(encoder.Encode(model_to_encode.get())); - // Set the next id to 1 to simulate fresh Chrome start. - BookmarkNode::SetNextId(1); - BookmarkModel decoded_model(NULL); BookmarkCodec decoder(true); ASSERT_TRUE(decoder.Decode(&decoded_model, *model_value.get())); @@ -212,9 +209,6 @@ TEST_F(BookmarkCodecTest, PersistIDsTest) { BookmarkCodec encoder2(true); scoped_ptr<Value> model_value2(encoder2.Encode(&decoded_model)); - // Set the next id to 1 to simulate fresh Chrome start. - BookmarkNode::SetNextId(1); - BookmarkModel decoded_model2(NULL); BookmarkCodec decoder2(true); ASSERT_TRUE(decoder2.Decode(&decoded_model2, *model_value2.get())); |