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

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

Issue 68563003: Create DOM exceptions in the correct context. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased onto df9a982fbe97 Created 7 years, 1 month 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/bindings/v8/ExceptionState.cpp ('k') | Source/bindings/v8/ExceptionStatePlaceholder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/ExceptionStatePlaceholder.h
diff --git a/Source/bindings/v8/ExceptionStatePlaceholder.h b/Source/bindings/v8/ExceptionStatePlaceholder.h
index b69a6c507e1e2a7fd414dfa08967afedc170647d..84f6eb0b0f621d6a57d64597fa52deb0471e0b3d 100644
--- a/Source/bindings/v8/ExceptionStatePlaceholder.h
+++ b/Source/bindings/v8/ExceptionStatePlaceholder.h
@@ -43,7 +43,7 @@ typedef int ExceptionCode;
class IgnorableExceptionState : public ExceptionState {
public:
- IgnorableExceptionState(): ExceptionState(0) { }
+ IgnorableExceptionState(): ExceptionState(v8::Handle<v8::Object>(), 0) { }
ExceptionState& returnThis() { return *this; }
virtual void throwDOMException(const ExceptionCode&, const String& message = String()) OVERRIDE FINAL { };
virtual void throwTypeError(const String& message = String()) OVERRIDE FINAL { }
« no previous file with comments | « Source/bindings/v8/ExceptionState.cpp ('k') | Source/bindings/v8/ExceptionStatePlaceholder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698