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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLContextEvent.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/webgl/WebGLContextEvent.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLContextEvent.h b/third_party/WebKit/Source/modules/webgl/WebGLContextEvent.h
index 92df19148138f0dec60b88e5c4afd83747883d92..4115b8bf6c6bdbfbf35758356547b27cfebbb347 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLContextEvent.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLContextEvent.h
@@ -35,17 +35,17 @@ class WebGLContextEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<WebGLContextEvent> create()
+ static RawPtr<WebGLContextEvent> create()
{
return adoptRefWillBeNoop(new WebGLContextEvent);
}
- static PassRefPtrWillBeRawPtr<WebGLContextEvent> create(const AtomicString& type, bool canBubble, bool cancelable, const String& statusMessage)
+ static RawPtr<WebGLContextEvent> create(const AtomicString& type, bool canBubble, bool cancelable, const String& statusMessage)
{
- return adoptRefWillBeNoop(new WebGLContextEvent(type, canBubble, cancelable, statusMessage));
+ return new WebGLContextEvent(type, canBubble, cancelable, statusMessage);
}
- static PassRefPtrWillBeRawPtr<WebGLContextEvent> create(const AtomicString& type, const WebGLContextEventInit& initializer)
+ static RawPtr<WebGLContextEvent> create(const AtomicString& type, const WebGLContextEventInit& initializer)
{
- return adoptRefWillBeNoop(new WebGLContextEvent(type, initializer));
+ return new WebGLContextEvent(type, initializer);
}
~WebGLContextEvent() override;

Powered by Google App Engine
This is Rietveld 408576698