Chromium Code Reviews| Index: Source/core/dom/DOMException.h |
| diff --git a/Source/core/dom/DOMException.h b/Source/core/dom/DOMException.h |
| index 88fbebb8a8c3f3c4e0ff35ea0575143adceb8058..a5c0d83e39a66f5f62996feb74fd1b50f47e3a1a 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); |
| + explicit DOMException(unsigned short m_code, const char* name, const char* message); |
|
Mike West
2013/07/10 09:40:30
You can drop 'explicit'.
arv (Not doing code reviews)
2013/07/10 15:37:24
Done.
|
| unsigned short m_code; |
| String m_name; |