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 2ee601f70cb1cab8035b28ab90faea72a662f64b..cdecc008838018918c75ae33b96f13dc41a6a39c 100644 |
--- a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc |
@@ -192,8 +192,7 @@ class ProfileSyncServiceTypedUrlTest : public AbstractProfileSyncServiceTest { |
void AddTypedUrlSyncNode(const history::URLRow& url, |
const history::VisitVector& visits) { |
- sync_api::WriteTransaction trans( |
- service_->backend()->GetUserShareHandle()); |
+ sync_api::WriteTransaction trans(service_->GetUserShare()); |
sync_api::ReadNode typed_url_root(&trans); |
ASSERT_TRUE(typed_url_root.InitByTagLookup(browser_sync::kTypedUrlTag)); |
@@ -206,7 +205,7 @@ class ProfileSyncServiceTypedUrlTest : public AbstractProfileSyncServiceTest { |
} |
void GetTypedUrlsFromSyncDB(std::vector<history::URLRow>* urls) { |
- sync_api::ReadTransaction trans(service_->backend()->GetUserShareHandle()); |
+ sync_api::ReadTransaction trans(service_->GetUserShare()); |
sync_api::ReadNode typed_url_root(&trans); |
if (!typed_url_root.InitByTagLookup(browser_sync::kTypedUrlTag)) |
return; |