| 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'
|
|
|