Index: third_party/WebKit/Source/modules/quota/DOMError.cpp |
diff --git a/third_party/WebKit/Source/modules/quota/DOMError.cpp b/third_party/WebKit/Source/modules/quota/DOMError.cpp |
index 31513bf3119bc8a7ef8db9e31bde64564b0c6dd8..4882cfeaf107dbd91eb8c12d5c23bc982f257986 100644 |
--- a/third_party/WebKit/Source/modules/quota/DOMError.cpp |
+++ b/third_party/WebKit/Source/modules/quota/DOMError.cpp |
@@ -34,4 +34,8 @@ DOMError::DOMError(const String& name) : m_name(name) {} |
DOMError::DOMError(const String& name, const String& message) |
: m_name(name), m_message(message) {} |
+String DOMError::toStringForConsole() const { |
+ return name() + ": " + message(); |
+} |
+ |
} // namespace blink |