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

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

Issue 2390543002: Reflow comments in core/dom/. (Closed)
Patch Set: Reformat comments in core/dom/. Created 4 years, 2 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: third_party/WebKit/Source/core/dom/DOMException.h
diff --git a/third_party/WebKit/Source/core/dom/DOMException.h b/third_party/WebKit/Source/core/dom/DOMException.h
index 95048672720e526805be0e9c8a0e069f7dd126a3..28aa709a430fcf5d42cbb67a5548f35e346acbd3 100644
--- a/third_party/WebKit/Source/core/dom/DOMException.h
+++ b/third_party/WebKit/Source/core/dom/DOMException.h
@@ -55,11 +55,13 @@ class CORE_EXPORT DOMException final
unsigned short code() const { return m_code; }
String name() const { return m_name; }
- // This is the message that's exposed to JavaScript: never return unsanitized data.
+ // This is the message that's exposed to JavaScript: never return unsanitized
+ // data.
String message() const { return m_sanitizedMessage; }
String toString() const;
- // This is the message that's exposed to the console: if an unsanitized message is present, we prefer it.
+ // This is the message that's exposed to the console: if an unsanitized
+ // message is present, we prefer it.
String messageForConsole() const {
return !m_unsanitizedMessage.isEmpty() ? m_unsanitizedMessage
: m_sanitizedMessage;
« no previous file with comments | « third_party/WebKit/Source/core/dom/ContainerNode.cpp ('k') | third_party/WebKit/Source/core/dom/DOMImplementation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698