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

Unified Diff: third_party/WebKit/Source/core/events/ErrorEvent.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/core/events/ErrorEvent.h
diff --git a/third_party/WebKit/Source/core/events/ErrorEvent.h b/third_party/WebKit/Source/core/events/ErrorEvent.h
index 2b0f71187cdb1cf09dd8781cf0d385199c6de573..0e30a7efd3040216fffc49e882e052e38356d542 100644
--- a/third_party/WebKit/Source/core/events/ErrorEvent.h
+++ b/third_party/WebKit/Source/core/events/ErrorEvent.h
@@ -42,21 +42,21 @@ namespace blink {
class ErrorEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<ErrorEvent> create()
+ static RawPtr<ErrorEvent> create()
{
- return adoptRefWillBeNoop(new ErrorEvent);
+ return (new ErrorEvent);
}
- static PassRefPtrWillBeRawPtr<ErrorEvent> create(const String& message, const String& fileName, unsigned lineNumber, unsigned columnNumber, DOMWrapperWorld* world)
+ static RawPtr<ErrorEvent> create(const String& message, const String& fileName, unsigned lineNumber, unsigned columnNumber, DOMWrapperWorld* world)
{
- return adoptRefWillBeNoop(new ErrorEvent(message, fileName, lineNumber, columnNumber, world));
+ return (new ErrorEvent(message, fileName, lineNumber, columnNumber, world));
}
- static PassRefPtrWillBeRawPtr<ErrorEvent> create(const AtomicString& type, const ErrorEventInit& initializer)
+ static RawPtr<ErrorEvent> create(const AtomicString& type, const ErrorEventInit& initializer)
{
- return adoptRefWillBeNoop(new ErrorEvent(type, initializer));
+ return (new ErrorEvent(type, initializer));
}
- static PassRefPtrWillBeRawPtr<ErrorEvent> createSanitizedError(DOMWrapperWorld* world)
+ static RawPtr<ErrorEvent> createSanitizedError(DOMWrapperWorld* world)
{
- return adoptRefWillBeNoop(new ErrorEvent("Script error.", String(), 0, 0, world));
+ return (new ErrorEvent("Script error.", String(), 0, 0, world));
}
~ErrorEvent() override;

Powered by Google App Engine
This is Rietveld 408576698