Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index c289f175b9365d345a6a01f94a290b8467490a8f..39283d4d4eb59b1ecfe3144848bf20732bad7db4 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -644,6 +644,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) |