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

Unified Diff: Source/bindings/core/v8/ToV8.h

Issue 947923002: Add AnimationTimingProperties dictionary (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
Index: Source/bindings/core/v8/ToV8.h
diff --git a/Source/bindings/core/v8/ToV8.h b/Source/bindings/core/v8/ToV8.h
index 514ee5257ec5c0ea97b1d3266d2f25c5fd7e6f0b..e06dcd323a1ad8eccd8fff17325ed32c64cf9df7 100644
--- a/Source/bindings/core/v8/ToV8.h
+++ b/Source/bindings/core/v8/ToV8.h
@@ -16,6 +16,7 @@
namespace blink {
class DOMWindow;
+class Dictionary;
class EventTarget;
class WorkerGlobalScope;
@@ -182,6 +183,14 @@ inline v8::Handle<v8::Value> toV8(const ScriptValue& value, v8::Handle<v8::Objec
return value.v8Value();
}
+// Dictionary
+
+inline v8::Handle<v8::Value> toV8(const Dictionary& value, v8::Handle<v8::Object> creationContext, v8::Isolate*)
+{
+ ASSERT_NOT_REACHED();
Jens Widell 2015/02/23 12:07:00 Adding this was necessary due to the use of sequen
haraken 2015/02/23 13:41:17 I'm fine in this CL, but it would be great if we c
+ return v8::Handle<v8::Value>();
+}
+
// Array
template<typename Sequence>
« no previous file with comments | « no previous file | Source/bindings/core/v8/custom/V8ElementCustom.cpp » ('j') | Source/core/animation/Animation.idl » ('J')

Powered by Google App Engine
This is Rietveld 408576698