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

Unified Diff: lib/dom/scripts/databasebuilder.py

Issue 10669031: Support V8EnabledAtRuntime in constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 | « no previous file | lib/dom/scripts/systemnative.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/scripts/databasebuilder.py
diff --git a/lib/dom/scripts/databasebuilder.py b/lib/dom/scripts/databasebuilder.py
index 6109e6fce694316e6df89359b24fe8d389640e06..a1bae366ed98ab8dded0aab3381316d61c7e450a 100755
--- a/lib/dom/scripts/databasebuilder.py
+++ b/lib/dom/scripts/databasebuilder.py
@@ -583,6 +583,8 @@ class DatabaseBuilder(object):
# a lot so it's difficult to maintain necessary information on DOMWindow itself.
interface = self._database.GetInterface(options.type_rename_map.get(type, type))
if 'V8EnabledPerContext' in attr.ext_attrs:
- interface.ext_attrs['synthesizedV8EnabledPerContext'] = attr.ext_attrs['V8EnabledPerContext']
+ interface.ext_attrs['synthesizedV8EnabledPerContext'] = \
+ attr.ext_attrs['V8EnabledPerContext']
if 'V8EnabledAtRuntime' in attr.ext_attrs:
- interface.ext_attrs['synthesizedV8EnabledAtRuntime'] = attr.ext_attrs['V8EnabledAtRuntime']
+ interface.ext_attrs['synthesizedV8EnabledAtRuntime'] = \
+ attr.ext_attrs['V8EnabledAtRuntime'] or attr.id
« no previous file with comments | « no previous file | lib/dom/scripts/systemnative.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698