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

Unified Diff: tools/dom/scripts/systemnative.py

Issue 22605010: Use DartExceptionState (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 | « tests/html/html.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/systemnative.py
diff --git a/tools/dom/scripts/systemnative.py b/tools/dom/scripts/systemnative.py
index 34570c57bf2b5244c18e9fa611702c9d5de76e7a..0bf38cdf4bbd3f38c55a3f5b3904bc38119b1643 100644
--- a/tools/dom/scripts/systemnative.py
+++ b/tools/dom/scripts/systemnative.py
@@ -908,9 +908,7 @@ class DartiumBackend(HtmlDartGenerator):
if raises_dom_exception:
cpp_arguments.append('es')
invocation_emitter = body_emitter.Emit(
- # TODO(vsm): The move from ExceptionCode to ExceptionState adds
- # a V8 dependency. Constructing with a NULL V8 isolate....
- ' ExceptionState es(0);\n'
+ ' DartExceptionState es;\n'
'$!INVOCATION'
' if (es.hadException()) {\n'
' exception = DartDOMWrapper::exceptionCodeToDartException(es);\n'
« no previous file with comments | « tests/html/html.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698