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/notifications/notification_event_dispatcher_impl.cc b/content/browser/notifications/notification_event_dispatcher_impl.cc
index 217d3d7..69acf7f 100644
--- a/content/browser/notifications/notification_event_dispatcher_impl.cc
+++ b/content/browser/notifications/notification_event_dispatcher_impl.cc
@@ -237,7 +237,7 @@
       ServiceWorkerMetrics::EventType::NOTIFICATION_CLICK,
       base::BindOnce(
           &DispatchNotificationClickEventOnWorker,
-          make_scoped_refptr(service_worker_registration->active_version()),
+          base::WrapRefCounted(service_worker_registration->active_version()),
           notification_database_data, action_index, reply, status_callback),
       status_callback);
 }
@@ -309,7 +309,7 @@
         ServiceWorkerMetrics::EventType::NOTIFICATION_CLOSE,
         base::BindOnce(
             &DispatchNotificationCloseEventOnWorker,
-            make_scoped_refptr(service_worker_registration->active_version()),
+            base::WrapRefCounted(service_worker_registration->active_version()),
             notification_database_data, dispatch_event_callback),
         dispatch_event_callback);
   } else {