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

Unified Diff: Source/core/css/FontFace.idl

Issue 335333002: Make "descriptors" argument of FontFace constructor optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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
« no previous file with comments | « LayoutTests/fast/css/fontface-properties-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/FontFace.idl
diff --git a/Source/core/css/FontFace.idl b/Source/core/css/FontFace.idl
index 98886130169f7e2be787424890ecee817b208213..77d12b268e787c2557288006983c34cd3a75b994 100644
--- a/Source/core/css/FontFace.idl
+++ b/Source/core/css/FontFace.idl
@@ -39,9 +39,9 @@ enum FontFaceLoadStatus {
[
// FIXME: should be union type http://crbug.com/240176
- Constructor(DOMString family, DOMString source, Dictionary descriptors),
- Constructor(DOMString family, ArrayBuffer source, Dictionary descriptors),
- Constructor(DOMString family, ArrayBufferView source, Dictionary descriptors),
+ Constructor(DOMString family, DOMString source, optional Dictionary descriptors),
+ Constructor(DOMString family, ArrayBuffer source, optional Dictionary descriptors),
+ Constructor(DOMString family, ArrayBufferView source, optional Dictionary descriptors),
ConstructorCallWith=ExecutionContext,
RaisesException=Constructor,
RuntimeEnabled=FontLoadEvents,
« no previous file with comments | « LayoutTests/fast/css/fontface-properties-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698