Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 1c334be67adda3ee754cefda2eb0b8108065a196..654ac7e101e9df1a4c944b495e8644d0cf6a60ba 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -645,6 +645,14 @@ void Internals::selectColorInColorChooser(Element* element, const String& colorV |
toHTMLInputElement(*element).selectColorInColorChooser(color); |
} |
+void Internals::endColorChooser(Element* element) |
+{ |
+ ASSERT(element); |
+ if (!isHTMLInputElement(*element)) |
+ return; |
+ toHTMLInputElement(*element).endColorChooser(); |
+} |
+ |
bool Internals::hasAutofocusRequest(Document* document) |
{ |
if (!document) |