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

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

Issue 228783007: rAc: make requestAutocomplete() return a promise. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: merge Created 6 years, 8 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 | « Source/core/dom/AutocompleteError.idl ('k') | Source/core/html/HTMLFormElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMException.h
diff --git a/Source/core/dom/DOMException.h b/Source/core/dom/DOMException.h
index ade90d63abfc3dfeb2266939ed9c46ff029c9c94..13c33ef53e1ab9ffcd29d114d02e27b63699b5fb 100644
--- a/Source/core/dom/DOMException.h
+++ b/Source/core/dom/DOMException.h
@@ -56,9 +56,10 @@ public:
static String getErrorName(ExceptionCode);
static String getErrorMessage(ExceptionCode);
-private:
- DOMException(unsigned short m_code, const String& name, const String& sanitizedMessage, const String& unsanitizedMessage);
+protected:
+ DOMException(unsigned short m_code, const String& name, const String& sanitizedMessage = String(), const String& unsanitizedMessage = String());
+private:
unsigned short m_code;
String m_name;
String m_sanitizedMessage;
« no previous file with comments | « Source/core/dom/AutocompleteError.idl ('k') | Source/core/html/HTMLFormElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698