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

Unified Diff: Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.h

Issue 759893002: IDL: Auto-generate NativeValueTraits for IDL dictionaries (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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/tests/results/core/V8TestInterfaceEventInit.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.h
diff --git a/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.h b/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.h
index e58ff81655e149a099b9d9562bc0fe5b207ffe26..ca10276a31b1f2302ac25eada5ef3a0ad7cbecda 100644
--- a/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.h
+++ b/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.h
@@ -45,18 +45,6 @@ private:
static const char* supplementName();
};
-// This is needed by the generated code for Navigator to convert a JavaScript
-// object into a MediaKeySystemOptions object.
-template <>
-struct NativeValueTraits<MediaKeySystemOptions> {
- static inline MediaKeySystemOptions nativeValue(const v8::Handle<v8::Value>& value, v8::Isolate* isolate, ExceptionState& exceptionState)
- {
- MediaKeySystemOptions impl;
- V8MediaKeySystemOptions::toImpl(isolate, value, impl, exceptionState);
- return impl;
- }
-};
-
} // namespace blink
#endif // NavigatorRequestMediaKeySystemAccess_h
« no previous file with comments | « Source/bindings/tests/results/core/V8TestInterfaceEventInit.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698