base: Change make_scoped_refptr to WrapRefCounted.
The helper function make_scoped_refptr() doesn't match the base/std
naming convention for make to construct the object. Now there is
MakeRefCounted() to make a new scoped_refptr and WrapRefCounted() to
wrap something in scoped_refptr, similar to MakeUnique() and
WrapUnique(). This is a purely mechanical regex search and replace.
Bug: 765333
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I5057e51282e519693f6fca504bd54deb638b712f
Reviewed-on: https://chromium-review.googlesource.com/667726
Commit-Queue: kylechar <[email protected]>
Reviewed-by: Scott Violet <[email protected]>
Reviewed-by: danakj <[email protected]>
Cr-Commit-Position: refs/heads/master@{#506316}
diff --git a/content/browser/site_instance_impl.cc b/content/browser/site_instance_impl.cc
index f7bae49..c2a68fc3 100644
--- a/content/browser/site_instance_impl.cc
+++ b/content/browser/site_instance_impl.cc
@@ -51,7 +51,7 @@
scoped_refptr<SiteInstanceImpl> SiteInstanceImpl::Create(
BrowserContext* browser_context) {
- return make_scoped_refptr(
+ return base::WrapRefCounted(
new SiteInstanceImpl(new BrowsingInstance(browser_context)));
}