2011-02-09  Ilya Sherman  <isherman@chromium.org>

        Reviewed by Darin Fisher.

        Export WebInputElement::defaultMaxLength as a function rather than a constant.
        Needed because the order of initialization of static constants
        is not guaranteed across compilation units.
        https://bugs.webkit.org/show_bug.cgi?id=54056

        * public/WebInputElement.h:
        * src/WebInputElement.cpp:
        (WebKit::WebInputElement::defaultMaxLength): Now a static function.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78139 268f45cc-cd09-0410-ab3c-d52691b4dbfc
3 files changed