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

Unified Diff: Source/modules/mediasource/URLMediaSource.idl

Issue 266453005: Apply TypeChecking to MediaSource IDLs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use MAX_VALUE instead of POS_INF. Created 6 years, 8 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/modules/mediasource/URLMediaSource.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediasource/URLMediaSource.idl
diff --git a/Source/modules/mediasource/URLMediaSource.idl b/Source/modules/mediasource/URLMediaSource.idl
index 696727a68f30d70c3fd187a4c579c7814fdbf5ca..5b7dc91cc3cc99a99cabc0e334c91d3b09046f37 100644
--- a/Source/modules/mediasource/URLMediaSource.idl
+++ b/Source/modules/mediasource/URLMediaSource.idl
@@ -28,6 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-partial interface URL {
- [CallWith=ExecutionContext, TreatReturnedNullStringAs=Null] static DOMString createObjectURL(MediaSource? source);
+[
+ TypeChecking=Interface|Nullable,
+] partial interface URL {
+ [CallWith=ExecutionContext, TreatReturnedNullStringAs=Null] static DOMString createObjectURL(MediaSource source);
};
« no previous file with comments | « Source/modules/mediasource/URLMediaSource.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698