Index: chrome/browser/sync/profile_sync_service_typed_url_unittest.cc |
diff --git a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc |
index fc2db8738c77ca3bf9e21b759583cb66d2a53413..71d28f3fa2822d50087e28a563b909edb654985c 100644 |
--- a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc |
@@ -178,7 +178,7 @@ class ProfileSyncServiceTypedUrlTest : public AbstractProfileSyncServiceTest { |
syncer::WriteTransaction trans(FROM_HERE, sync_service_->GetUserShare()); |
syncer::ReadNode typed_url_root(&trans); |
ASSERT_EQ(syncer::BaseNode::INIT_OK, |
- typed_url_root.InitByTagLookup(browser_sync::kTypedUrlTag)); |
+ typed_url_root.InitTypeRoot(syncer::TYPED_URLS)); |
syncer::WriteNode node(&trans); |
std::string tag = url.url().spec(); |
@@ -267,8 +267,8 @@ class ProfileSyncServiceTypedUrlTest : public AbstractProfileSyncServiceTest { |
urls->clear(); |
syncer::ReadTransaction trans(FROM_HERE, sync_service_->GetUserShare()); |
syncer::ReadNode typed_url_root(&trans); |
- if (typed_url_root.InitByTagLookup(browser_sync::kTypedUrlTag) != |
- syncer::BaseNode::INIT_OK) |
+ if (typed_url_root.InitTypeRoot(syncer::TYPED_URLS) != |
+ syncer::BaseNode::INIT_OK) |
return; |
int64 child_id = typed_url_root.GetFirstChildId(); |