Chromium Code Reviews| Index: Source/core/dom/DOMError.cpp |
| diff --git a/Source/core/dom/DOMError.cpp b/Source/core/dom/DOMError.cpp |
| index 4f2a7be0eed9f1f27038137276c657bf251fb82e..a2ee85f1436b0f1d2948f02cc1112163cca09fa2 100644 |
| --- a/Source/core/dom/DOMError.cpp |
| +++ b/Source/core/dom/DOMError.cpp |
| @@ -40,4 +40,9 @@ DOMError::DOMError(const String& name, const String& message) |
| { |
| } |
| +String DOMError::toStringForConsole() const |
| +{ |
| + return name() + ": " + message(); |
| +} |
| + |
| } // namespace blink |