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..834252de8255fcd88cbbb94181bc43db2781bd4b 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* = 0); |
|
jsbell
2013/07/02 18:48:08
nit: name the argument.
arv (Not doing code reviews)
2013/07/09 23:41:04
Done.
|
| 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); |
| unsigned short m_code; |
| String m_name; |