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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerError.h

Issue 176853004: Oilpan: move core/fileapi to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 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
« no previous file with comments | « Source/modules/mediastream/RTCDataChannel.cpp ('k') | Source/modules/webmidi/MIDIAccessPromise.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/ServiceWorkerError.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerError.h b/Source/modules/serviceworkers/ServiceWorkerError.h
index 276eb1348817cfa2b069e2aa4b2f3d61d10b7781..130b834eaa7c4cdad943ec3571197b190adfede0 100644
--- a/Source/modules/serviceworkers/ServiceWorkerError.h
+++ b/Source/modules/serviceworkers/ServiceWorkerError.h
@@ -32,6 +32,7 @@
#define ServiceWorkerError_h
#include "core/dom/DOMError.h"
+#include "heap/Handle.h"
#include "public/platform/WebServiceWorkerError.h"
#include "wtf/PassOwnPtr.h"
@@ -41,10 +42,10 @@ class ServiceWorkerError {
public:
// For CallbackPromiseAdapter
typedef blink::WebServiceWorkerError WebType;
- static PassRefPtr<DOMError> from(WebType* webErrorRaw)
+ static PassRefPtrWillBeRawPtr<DOMError> from(WebType* webErrorRaw)
{
OwnPtr<WebType> webError = adoptPtr(webErrorRaw);
- RefPtr<DOMError> error = DOMError::create(errorString(webError->errorType), webError->message);
+ RefPtrWillBeRawPtr<DOMError> error = DOMError::create(errorString(webError->errorType), webError->message);
return error.release();
}
« no previous file with comments | « Source/modules/mediastream/RTCDataChannel.cpp ('k') | Source/modules/webmidi/MIDIAccessPromise.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698