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

Unified Diff: Source/bindings/tests/results/core/TestDictionary.cpp

Issue 860353002: IDL: Add toRestricted{Float,Double}() helpers to V8Binding.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add FIXME comment Created 5 years, 11 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
Index: Source/bindings/tests/results/core/TestDictionary.cpp
diff --git a/Source/bindings/tests/results/core/TestDictionary.cpp b/Source/bindings/tests/results/core/TestDictionary.cpp
index 73f3259a3bfa49baf559b7c512efb5b7d945aa22..a948f576cc6b9f32aa3b0c80f5ba7b277c74ec8f 100644
--- a/Source/bindings/tests/results/core/TestDictionary.cpp
+++ b/Source/bindings/tests/results/core/TestDictionary.cpp
@@ -14,7 +14,9 @@ TestDictionary::TestDictionary()
{
setEnumMember(String("foo"));
setLongMember(1);
+ setRestrictedDoubleMember(3.14);
setStringOrNullMember(String("default string value"));
+ setUnrestrictedDoubleMember(3.14);
}
void TestDictionary::trace(Visitor* visitor)

Powered by Google App Engine
This is Rietveld 408576698