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

Unified Diff: Source/bindings/v8/V8ThrowException.h

Issue 18398002: Remove IDBNotFoundError ExceptionCode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add missing include in code gen wich causes win compile failure Created 7 years, 5 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: Source/bindings/v8/V8ThrowException.h
diff --git a/Source/bindings/v8/V8ThrowException.h b/Source/bindings/v8/V8ThrowException.h
index bfb3315ecc2a659a5ffccd70c0f09d9cd4afd0ab..c37e87e022a60ef7ad0ac0023363a9435dda41a1 100644
--- a/Source/bindings/v8/V8ThrowException.h
+++ b/Source/bindings/v8/V8ThrowException.h
@@ -39,7 +39,11 @@ enum V8ErrorType {
class V8ThrowException {
public:
- static v8::Handle<v8::Value> setDOMException(int, v8::Isolate*);
+ static v8::Handle<v8::Value> setDOMException(int ec, v8::Isolate* isolate)
+ {
+ return setDOMException(ec, 0, isolate);
+ }
+ static v8::Handle<v8::Value> setDOMException(int, const char*, v8::Isolate*);
static v8::Handle<v8::Value> throwError(V8ErrorType, const char*, v8::Isolate* = 0);
static v8::Handle<v8::Value> throwError(v8::Handle<v8::Value>, v8::Isolate* = 0);

Powered by Google App Engine
This is Rietveld 408576698