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

Unified Diff: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h

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, 10 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/modules/device_orientation/DeviceOrientationEvent.h
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h
index 48aa6c793bc6b77866231fe4d4c2fe90f30a77f7..6b7fb229851a1bf211f156c046ca051ce607fee3 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h
@@ -38,13 +38,13 @@ class DeviceOrientationEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
~DeviceOrientationEvent() override;
- static PassRefPtrWillBeRawPtr<DeviceOrientationEvent> create()
+ static RawPtr<DeviceOrientationEvent> create()
{
- return adoptRefWillBeNoop(new DeviceOrientationEvent);
+ return (new DeviceOrientationEvent);
}
- static PassRefPtrWillBeRawPtr<DeviceOrientationEvent> create(const AtomicString& eventType, DeviceOrientationData* orientation)
+ static RawPtr<DeviceOrientationEvent> create(const AtomicString& eventType, DeviceOrientationData* orientation)
{
- return adoptRefWillBeNoop(new DeviceOrientationEvent(eventType, orientation));
+ return (new DeviceOrientationEvent(eventType, orientation));
}
void initDeviceOrientationEvent(const AtomicString& type, bool bubbles, bool cancelable, const Nullable<double>& alpha, const Nullable<double>& beta, const Nullable<double>& gamma, const Nullable<bool>& absolute);
@@ -64,7 +64,7 @@ private:
DeviceOrientationEvent();
DeviceOrientationEvent(const AtomicString& eventType, DeviceOrientationData*);
- PersistentWillBeMember<DeviceOrientationData> m_orientation;
+ Member<DeviceOrientationData> m_orientation;
};
DEFINE_TYPE_CASTS(DeviceOrientationEvent, Event, event, event->interfaceName() == EventNames::DeviceOrientationEvent, event.interfaceName() == EventNames::DeviceOrientationEvent);

Powered by Google App Engine
This is Rietveld 408576698