| Index: Source/core/dom/DOMException.h
|
| diff --git a/Source/core/dom/DOMException.h b/Source/core/dom/DOMException.h
|
| index 88fbebb8a8c3f3c4e0ff35ea0575143adceb8058..06e4cbdb69669cfa65e6802f46dae746ccceb557 100644
|
| --- a/Source/core/dom/DOMException.h
|
| +++ b/Source/core/dom/DOMException.h
|
| @@ -39,7 +39,7 @@ typedef int ExceptionCode;
|
|
|
| class DOMException : public RefCounted<DOMException>, public ScriptWrappable {
|
| public:
|
| - static PassRefPtr<DOMException> create(ExceptionCode);
|
| + static PassRefPtr<DOMException> create(ExceptionCode, const char* message = 0);
|
|
|
| unsigned short code() const { return m_code; }
|
| String name() const { return m_name; }
|
| @@ -52,7 +52,7 @@ public:
|
| static unsigned short getLegacyErrorCode(ExceptionCode);
|
|
|
| private:
|
| - explicit DOMException(ExceptionCode);
|
| + DOMException(unsigned short m_code, const char* name, const char* message);
|
|
|
| unsigned short m_code;
|
| String m_name;
|
|
|