| Index: Source/core/dom/DOMException.cpp
|
| diff --git a/Source/core/dom/DOMException.cpp b/Source/core/dom/DOMException.cpp
|
| index 2ae439f4cc7d55e541b8e36857bd1ed32cf3c39f..5db0d351315ac92c9998f27283bd0e7201fc8246 100644
|
| --- a/Source/core/dom/DOMException.cpp
|
| +++ b/Source/core/dom/DOMException.cpp
|
| @@ -96,11 +96,11 @@ DOMException::DOMException(unsigned short code, const String& name, const String
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -PassRefPtr<DOMException> DOMException::create(ExceptionCode ec, const String& sanitizedMessage, const String& unsanitizedMessage)
|
| +PassRefPtrWillBeRawPtr<DOMException> DOMException::create(ExceptionCode ec, const String& sanitizedMessage, const String& unsanitizedMessage)
|
| {
|
| const CoreException* entry = getErrorEntry(ec);
|
| ASSERT(entry);
|
| - return adoptRef(new DOMException(entry->code,
|
| + return adoptRefWillBeNoop(new DOMException(entry->code,
|
| entry->name ? entry->name : "Error",
|
| sanitizedMessage.isNull() ? String(entry->message) : sanitizedMessage,
|
| unsanitizedMessage));
|
|
|