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

Unified Diff: third_party/WebKit/Source/modules/device_light/DeviceLightEvent.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, 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/modules/device_light/DeviceLightEvent.h
diff --git a/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.h b/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.h
index 87f8554246cdefdf5b47461e4b04de2fea69f6da..5ce9a0660c38f9fa59c3c847feebac75aa496f85 100644
--- a/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.h
+++ b/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.h
@@ -16,17 +16,17 @@ class DeviceLightEvent final : public Event {
public:
~DeviceLightEvent() override;
- static PassRefPtrWillBeRawPtr<DeviceLightEvent> create()
+ static RawPtr<DeviceLightEvent> create()
{
return adoptRefWillBeNoop(new DeviceLightEvent);
}
- static PassRefPtrWillBeRawPtr<DeviceLightEvent> create(const AtomicString& eventType, double value)
+ static RawPtr<DeviceLightEvent> create(const AtomicString& eventType, double value)
{
- return adoptRefWillBeNoop(new DeviceLightEvent(eventType, value));
+ return new DeviceLightEvent(eventType, value);
}
- static PassRefPtrWillBeRawPtr<DeviceLightEvent> create(const AtomicString& eventType, const DeviceLightEventInit& initializer)
+ static RawPtr<DeviceLightEvent> create(const AtomicString& eventType, const DeviceLightEventInit& initializer)
{
- return adoptRefWillBeNoop(new DeviceLightEvent(eventType, initializer));
+ return new DeviceLightEvent(eventType, initializer);
}
double value() const { return m_value; }

Powered by Google App Engine
This is Rietveld 408576698