Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Unified Diff: third_party/WebKit/Source/web/WebGeolocationController.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebGeolocationController.cpp
diff --git a/third_party/WebKit/Source/web/WebGeolocationController.cpp b/third_party/WebKit/Source/web/WebGeolocationController.cpp
index c39a4d3d8646ddb0c31f35d7857ca24560f10a38..1c9f17a7f7a05ec27460508999bfc5c3d3743e4f 100644
--- a/third_party/WebKit/Source/web/WebGeolocationController.cpp
+++ b/third_party/WebKit/Source/web/WebGeolocationController.cpp
@@ -37,11 +37,11 @@ namespace blink {
// TODO(Oilpan): once GeolocationController is always on the heap,
// shorten out this GeolocationControllerPrivate intermediary.
-class GeolocationControllerPrivate final : public RefCountedWillBeGarbageCollected<GeolocationControllerPrivate> {
+class GeolocationControllerPrivate final : public GarbageCollected<GeolocationControllerPrivate> {
public:
- static PassRefPtrWillBeRawPtr<GeolocationControllerPrivate> create(GeolocationController* controller)
+ static RawPtr<GeolocationControllerPrivate> create(GeolocationController* controller)
{
- return adoptRefWillBeNoop(new GeolocationControllerPrivate(controller));
+ return new GeolocationControllerPrivate(controller);
}
static GeolocationController& controller(const WebPrivatePtr<GeolocationControllerPrivate>& controller)
@@ -65,7 +65,7 @@ private:
// Non-Oilpan, this bare pointer is owned as a supplement and kept alive
// by the frame of the WebLocalFrame which creates the WebGeolocationController
// object that wraps it all up.
- RawPtrWillBeMember<GeolocationController> m_controller;
+ Member<GeolocationController> m_controller;
};
WebGeolocationController::WebGeolocationController(GeolocationController* controller)
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp ('k') | third_party/WebKit/Source/web/WebHelperPluginImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698