summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/sync_manager_impl_unittest.cc
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-30 20:09:07 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-30 20:09:07 +0000
commite5524e8f314192abfce294329d75b35d1bada1c7 (patch)
tree57ef24017519f111f82cb31b31b811c2cd954870 /sync/internal_api/sync_manager_impl_unittest.cc
parentb658871502a810bbf2692a61cf0986978100bcc2 (diff)
downloadchromium_src-e5524e8f314192abfce294329d75b35d1bada1c7.zip
chromium_src-e5524e8f314192abfce294329d75b35d1bada1c7.tar.gz
chromium_src-e5524e8f314192abfce294329d75b35d1bada1c7.tar.bz2
Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>.
In r174057, enne@ added support for implicit testing to scoped_ptr<>. Removes these in sync/ and chrome/browser/sync/. BUG=232084 Review URL: https://chromiumcodereview.appspot.com/14411003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197441 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/sync_manager_impl_unittest.cc')
-rw-r--r--sync/internal_api/sync_manager_impl_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sync/internal_api/sync_manager_impl_unittest.cc b/sync/internal_api/sync_manager_impl_unittest.cc
index 1d38b531..8367725 100644
--- a/sync/internal_api/sync_manager_impl_unittest.cc
+++ b/sync/internal_api/sync_manager_impl_unittest.cc
@@ -594,7 +594,7 @@ TEST_F(SyncApiTest, BaseNodeGetSummaryAsValue) {
ReadNode node(&trans);
node.InitByRootLookup();
scoped_ptr<base::DictionaryValue> details(node.GetSummaryAsValue());
- if (details.get()) {
+ if (details) {
CheckNodeValue(node, *details, false);
} else {
ADD_FAILURE();
@@ -606,7 +606,7 @@ TEST_F(SyncApiTest, BaseNodeGetDetailsAsValue) {
ReadNode node(&trans);
node.InitByRootLookup();
scoped_ptr<base::DictionaryValue> details(node.GetDetailsAsValue());
- if (details.get()) {
+ if (details) {
CheckNodeValue(node, *details, true);
} else {
ADD_FAILURE();