Index: Source/core/css/CSSVariablesMapForEachCallback.idl |
diff --git a/Source/modules/webmidi/MIDIErrorCallback.idl b/Source/core/css/CSSVariablesMapForEachCallback.idl |
similarity index 83% |
copy from Source/modules/webmidi/MIDIErrorCallback.idl |
copy to Source/core/css/CSSVariablesMapForEachCallback.idl |
index 0591bf6715e14bf85426c3cfb82fc2aedf25918d..d66eb619ffbc2fd24a7e64cb57491a19bbfd3c36 100644 |
--- a/Source/modules/webmidi/MIDIErrorCallback.idl |
+++ b/Source/core/css/CSSVariablesMapForEachCallback.idl |
@@ -11,9 +11,6 @@ |
* copyright notice, this list of conditions and the following disclaimer |
* in the documentation and/or other materials provided with the |
* distribution. |
- * * Neither the name of Google Inc. nor the names of its |
- * contributors may be used to endorse or promote products derived from |
- * this software without specific prior written permission. |
* |
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
@@ -28,6 +25,7 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-callback interface MIDIErrorCallback { |
- boolean handleEvent(DOMError error); |
+callback interface CSSVariablesMapForEachCallback { |
+ [CallWith=ThisValue] boolean handleItem(DOMString value, DOMString name, CSSVariablesMap map); |
+ boolean handleItem(DOMString value, DOMString name, CSSVariablesMap map); |
}; |