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

Unified Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEvent.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/xmlhttprequest/XMLHttpRequestProgressEvent.h
diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEvent.h b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEvent.h
index 7997b4fe476f75614fb97430bcc4f4c7219a838e..415e647bdcdcc974250ea9b0476a4e2866c3fcdf 100644
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEvent.h
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEvent.h
@@ -38,13 +38,13 @@ namespace blink {
class XMLHttpRequestProgressEvent final : public ProgressEvent {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<XMLHttpRequestProgressEvent> create()
+ static RawPtr<XMLHttpRequestProgressEvent> create()
{
- return adoptRefWillBeNoop(new XMLHttpRequestProgressEvent);
+ return (new XMLHttpRequestProgressEvent);
}
- static PassRefPtrWillBeRawPtr<XMLHttpRequestProgressEvent> create(const AtomicString& type, bool lengthComputable = false, unsigned long long loaded = 0, unsigned long long total = 0)
+ static RawPtr<XMLHttpRequestProgressEvent> create(const AtomicString& type, bool lengthComputable = false, unsigned long long loaded = 0, unsigned long long total = 0)
{
- return adoptRefWillBeNoop(new XMLHttpRequestProgressEvent(type, lengthComputable, loaded, total));
+ return (new XMLHttpRequestProgressEvent(type, lengthComputable, loaded, total));
}
// Those 2 synonyms are included for compatibility with Firefox.

Powered by Google App Engine
This is Rietveld 408576698