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

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

Issue 273683006: ScriptPromise should understand the ScriptState from which the ScriptPromise is generated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/css/FontFaceSet.idl
diff --git a/Source/core/css/FontFaceSet.idl b/Source/core/css/FontFaceSet.idl
index b17e7fc8f756b9c5eed0a040714229580b38d55f..6bf50ed6de250dd363a320838630527d63fff52b 100644
--- a/Source/core/css/FontFaceSet.idl
+++ b/Source/core/css/FontFaceSet.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2013 Google Inc. All rights reserved.
+ * Copyright (C) 2013 Google Inc. All rights reerved.
yhirano 2014/05/09 06:24:57 ??
haraken 2014/05/09 07:37:25 Done.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -42,8 +42,8 @@ enum FontFaceSetLoadStatus { "loading", "loaded" };
attribute EventHandler onloadingerror;
[RaisesException] boolean check(DOMString font, [Default=NullString] optional DOMString text);
- Promise load(DOMString font, [Default=NullString] optional DOMString text);
- Promise ready();
+ [CallWith=ScriptState] Promise load(DOMString font, [Default=NullString] optional DOMString text);
+ [CallWith=ScriptState] Promise ready();
[RaisesException] void add(FontFace fontFace);
void clear();

Powered by Google App Engine
This is Rietveld 408576698