summaryrefslogtreecommitdiffstats
path: root/components/suggestions
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-08-26 12:28:44 -0700
committerCommit bot <commit-bot@chromium.org>2014-08-26 19:29:44 +0000
commit3c331bb5271f1beeac03bd6910002235801d3ff2 (patch)
tree24534610b35b65ed2f27488c668004728fab6ec7 /components/suggestions
parent86b7dd0b60b8742029aa0196892cc0cc97c622eb (diff)
downloadchromium_src-3c331bb5271f1beeac03bd6910002235801d3ff2.zip
chromium_src-3c331bb5271f1beeac03bd6910002235801d3ff2.tar.gz
chromium_src-3c331bb5271f1beeac03bd6910002235801d3ff2.tar.bz2
Remove implicit conversions from scoped_refptr to T* in components/
This patch was generated by running the rewrite_scoped_refptr clang tool on a Linux build. BUG=110610 Review URL: https://codereview.chromium.org/500383003 Cr-Commit-Position: refs/heads/master@{#291964}
Diffstat (limited to 'components/suggestions')
-rw-r--r--components/suggestions/suggestions_service_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/suggestions/suggestions_service_unittest.cc b/components/suggestions/suggestions_service_unittest.cc
index a4d6058..ae9aa91 100644
--- a/components/suggestions/suggestions_service_unittest.cc
+++ b/components/suggestions/suggestions_service_unittest.cc
@@ -207,7 +207,8 @@ class SuggestionsServiceTest : public testing::Test {
mock_thumbnail_manager_ = new StrictMock<MockImageManager>();
mock_blacklist_store_ = new MockBlacklistStore();
return new SuggestionsService(
- request_context_, scoped_ptr<SuggestionsStore>(mock_suggestions_store_),
+ request_context_.get(),
+ scoped_ptr<SuggestionsStore>(mock_suggestions_store_),
scoped_ptr<ImageManager>(mock_thumbnail_manager_),
scoped_ptr<BlacklistStore>(mock_blacklist_store_));
}