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

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

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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
« no previous file with comments | « LayoutTests/webaudio/delaynode-maxdelaylimit-expected.txt ('k') | Source/core/dom/ExceptionBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ExceptionBase.h
diff --git a/Source/core/dom/ExceptionBase.h b/Source/core/dom/ExceptionBase.h
index d8850ae3149e2347576914e66edd8bada4892a48..d500f1ece497bca3f2415d68554f132ea0a09508 100644
--- a/Source/core/dom/ExceptionBase.h
+++ b/Source/core/dom/ExceptionBase.h
@@ -41,7 +41,7 @@ class ExceptionBase : public RefCounted<ExceptionBase> {
public:
unsigned short code() const { return m_code; }
String name() const { return m_name; }
- String message() const { return m_message; }
+ String message() const { return description(); }
String description() const { return m_description; }
String toString() const;
@@ -52,7 +52,6 @@ protected:
private:
unsigned short m_code;
String m_name;
- String m_message;
String m_description;
};
« no previous file with comments | « LayoutTests/webaudio/delaynode-maxdelaylimit-expected.txt ('k') | Source/core/dom/ExceptionBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698