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

Unified Diff: Source/core/dom/URL.idl

Issue 361883004: Replace many [TreatReturnedNullStringAs=Null] with nullable DOMString (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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/core/dom/URL.idl
diff --git a/Source/core/dom/URL.idl b/Source/core/dom/URL.idl
index 2cf33a47c4fffdb1710b5deda5bad17daf7d630d..8a92039656eb1db944f7ae6f5aba83f6ce57b394 100644
--- a/Source/core/dom/URL.idl
+++ b/Source/core/dom/URL.idl
@@ -38,7 +38,7 @@
// FIXME: should be in separate URLBlob.idl partial interface definition
// http://dev.w3.org/2006/webapi/FileAPI/#URL-object
// FIXME: should not be nullable
- [RaisesException, CallWith=ExecutionContext, TreatReturnedNullStringAs=Null] static DOMString createObjectURL(Blob? blob);
+ [RaisesException, CallWith=ExecutionContext] static DOMString? createObjectURL(Blob? blob);
[CallWith=ExecutionContext] static void revokeObjectURL(DOMString url);
};

Powered by Google App Engine
This is Rietveld 408576698