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

Unified Diff: Source/modules/bluetooth/BluetoothError.cpp

Issue 1107793002: Oilpan: have DOMException be on the heap by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/bluetooth/BluetoothError.h ('k') | Source/modules/cachestorage/Cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/bluetooth/BluetoothError.cpp
diff --git a/Source/modules/bluetooth/BluetoothError.cpp b/Source/modules/bluetooth/BluetoothError.cpp
index 6fe487d9ee1a5226bbd8543a4da30650c8bd2928..70c9884ee52b420c35dc2ae26027a8a86e933f98 100644
--- a/Source/modules/bluetooth/BluetoothError.cpp
+++ b/Source/modules/bluetooth/BluetoothError.cpp
@@ -5,13 +5,14 @@
#include "config.h"
#include "modules/bluetooth/BluetoothError.h"
+#include "core/dom/DOMException.h"
#include "core/dom/ExceptionCode.h"
#include "public/platform/modules/bluetooth/WebBluetoothError.h"
#include "wtf/OwnPtr.h"
namespace blink {
-PassRefPtrWillBeRawPtr<DOMException> BluetoothError::take(ScriptPromiseResolver*, WebBluetoothError* webErrorRawPointer)
+DOMException* BluetoothError::take(ScriptPromiseResolver*, WebBluetoothError* webErrorRawPointer)
{
OwnPtr<WebBluetoothError> webError = adoptPtr(webErrorRawPointer);
switch (webError->errorType) {
« no previous file with comments | « Source/modules/bluetooth/BluetoothError.h ('k') | Source/modules/cachestorage/Cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698