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

Unified Diff: Source/bindings/scripts/v8_dictionary.py

Issue 970843002: IDL: Implement float/double correctly (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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 | « Source/bindings/scripts/v8_attributes.py ('k') | Source/bindings/scripts/v8_interface.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/v8_dictionary.py
diff --git a/Source/bindings/scripts/v8_dictionary.py b/Source/bindings/scripts/v8_dictionary.py
index 2a80c45ca754fb8e90789c205c153261a407e7b0..1d1f2f435ff71e159d91b6a0e3c97bbe355b78cf 100644
--- a/Source/bindings/scripts/v8_dictionary.py
+++ b/Source/bindings/scripts/v8_dictionary.py
@@ -80,10 +80,6 @@ def member_context(dictionary, member):
idl_type.add_includes_for_type()
unwrapped_idl_type = unwrap_nullable_if_needed(idl_type)
- restricted_float = (
- has_extended_attribute_value(dictionary, 'TypeChecking', 'Unrestricted') or
- has_extended_attribute_value(member, 'TypeChecking', 'Unrestricted'))
-
def default_values():
if not member.default_value:
return None, None
@@ -120,8 +116,7 @@ def member_context(dictionary, member):
'v8_default_value': v8_default_value,
'v8_value_to_local_cpp_value': unwrapped_idl_type.v8_value_to_local_cpp_value(
member.extended_attributes, member.name + 'Value',
- member.name, isolate='isolate', use_exception_state=True,
- restricted_float=restricted_float),
+ member.name, isolate='isolate', use_exception_state=True),
}
« no previous file with comments | « Source/bindings/scripts/v8_attributes.py ('k') | Source/bindings/scripts/v8_interface.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698