Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Unified Diff: Source/core/dom/DOMException.h

Issue 18398002: Remove IDBNotFoundError ExceptionCode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698