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

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

Issue 18398002: Remove IDBNotFoundError ExceptionCode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: merge Created 7 years, 6 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..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;

Powered by Google App Engine
This is Rietveld 408576698