Index: Source/core/dom/DOMException.h |
diff --git a/Source/core/dom/DOMException.h b/Source/core/dom/DOMException.h |
index 270ba87a9f84791178c832b94354fd2c8f0d2fc2..e826129825dc358f3d6827f8ff364b1880dfd3ec 100644 |
--- a/Source/core/dom/DOMException.h |
+++ b/Source/core/dom/DOMException.h |
@@ -32,18 +32,16 @@ |
#include "bindings/core/v8/ScriptWrappable.h" |
#include "core/CoreExport.h" |
#include "platform/heap/Handle.h" |
-#include "wtf/PassRefPtr.h" |
-#include "wtf/RefCounted.h" |
-#include "wtf/text/WTFString.h" |
+#include "wtf/Forward.h" |
namespace blink { |
typedef int ExceptionCode; |
-class CORE_EXPORT DOMException final : public RefCountedWillBeGarbageCollectedFinalized<DOMException>, public ScriptWrappable { |
+class CORE_EXPORT DOMException final : public GarbageCollectedFinalized<DOMException>, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- static PassRefPtrWillBeRawPtr<DOMException> create(ExceptionCode, const String& sanitizedMessage = String(), const String& unsanitizedMessage = String()); |
+ static DOMException* create(ExceptionCode, const String& sanitizedMessage = String(), const String& unsanitizedMessage = String()); |
unsigned short code() const { return m_code; } |
String name() const { return m_name; } |