Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 5afcb218a6af313fca1a3ac1b048ca26c9e4ed91..ec911d97caae5774dc209fbcda140a0bbe95dde7 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -1482,6 +1482,14 @@ void HTMLInputElement::selectColorInColorChooser(const Color& color) |
static_cast<ColorInputType*>(m_inputType.get())->didChooseColor(color); |
} |
+void HTMLInputElement::endColorChooser() |
+{ |
+ // FIXME: Remove type check and static_cast. |
+ if (type() != InputTypeNames::color) |
keishi
2014/09/17 08:15:54
We decided not to add any more if statements that
Habib Virji
2014/09/17 08:30:42
Ok, will make a change and push in new patch.
Habib Virji
2014/09/18 12:42:05
Done.
|
+ return; |
+ static_cast<ColorInputType*>(m_inputType.get())->didEndChooser(); |
+} |
+ |
HTMLElement* HTMLInputElement::list() const |
{ |
return dataList(); |