DescriptionRemove a static initializer on Windows.
clang-cl complains:
..\..\third_party\WebKit\Source\core\html\HTMLSelectElement.cpp(80,23) :
error: declaration requires a global constructor [-Werror,-Wglobal-constructors]
static const unsigned maxListItems = std::numeric_limits<int>::max();
^
See also thread "[chromium-dev] std::numeric_limits vs INTN_MAX"
BUG=82385
TBR=tkent@chromium.org
Committed: https://chromium.googlesource.com/chromium/src/+/80004a8df9cf8b81f5b231696e3a24d190a8e05b
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|