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

Unified Diff: Source/WebKit/chromium/src/WebInputElement.cpp

Issue 14859003: Remove the compile time flag for DATALIST Element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add <datalist> display:none rule in RenderTheme::extraDefaultStyleSheet depending on the runtime fl… Created 7 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/WebKit/chromium/src/WebInputElement.cpp
diff --git a/Source/WebKit/chromium/src/WebInputElement.cpp b/Source/WebKit/chromium/src/WebInputElement.cpp
index 9b028095b2042d6032bb19c4cfa1618f26213065..3a98d349269304c82d1c5acfd724d8a1f828d253 100644
--- a/Source/WebKit/chromium/src/WebInputElement.cpp
+++ b/Source/WebKit/chromium/src/WebInputElement.cpp
@@ -190,12 +190,9 @@ bool WebInputElement::isMultiple() const
WebNodeCollection WebInputElement::dataListOptions() const
{
-#if ENABLE(DATALIST_ELEMENT)
HTMLDataListElement* dataList = static_cast<HTMLDataListElement*>(constUnwrap<HTMLInputElement>()->list());
tkent 2013/05/20 21:32:11 This function should refer to the runtime flag.
if (dataList)
return WebNodeCollection(dataList->options());
-#endif
- return WebNodeCollection();
}
WebString WebInputElement::localizeValue(const WebString& proposedValue) const

Powered by Google App Engine
This is Rietveld 408576698