Changeset 52107 in webkit


Ignore:
Timestamp:
Dec 14, 2009 12:13:45 PM (14 years ago)
Author:
eric@webkit.org
Message:

2009-12-14 Nayan Kumar K <nayankk@gmail.com>

Reviewed by Darin Adler.

Fix for compilation errors in WML enabled builds.

https://bugs.webkit.org/show_bug.cgi?id=32481

  • wml/WMLInputElement.cpp: (WebCore::WMLInputElement::setValue): (WebCore::WMLInputElement::setValueForUser):
  • wml/WMLInputElement.h:
Location:
trunk/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r52105 r52107  
     12009-12-14  Nayan Kumar K  <nayankk@gmail.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        Fix for compilation errors in WML enabled builds.
     6
     7        https://bugs.webkit.org/show_bug.cgi?id=32481
     8
     9        * wml/WMLInputElement.cpp:
     10        (WebCore::WMLInputElement::setValue):
     11        (WebCore::WMLInputElement::setValueForUser):
     12        * wml/WMLInputElement.h:
     13
    1142009-12-14  Andrei Popescu  <andreip@google.com>
    215
  • trunk/WebCore/wml/WMLInputElement.cpp

    r51300 r52107  
    133133}
    134134
    135 void WMLInputElement::setValue(const String& value)
     135void WMLInputElement::setValue(const String& value, bool sendChangeEvent)
    136136{
    137137    setFormControlValueMatchesRenderer(false);
     
    150150
    151151    InputElement::notifyFormStateChanged(this);
     152}
     153
     154void WMLInputElement::setValueForUser(const String& value)
     155{
     156    /* InputElement class defines pure virtual function 'setValueForUser', which
     157       will be useful only in HTMLInputElement. Do nothing in 'WMLInputElement'.
     158     */
    152159}
    153160
  • trunk/WebCore/wml/WMLInputElement.h

    r48792 r52107  
    5858    virtual const AtomicString& formControlName() const;
    5959    virtual String value() const;
    60     virtual void setValue(const String&);
     60    virtual void setValue(const String&, bool sendChangeEvent = false);
     61    virtual void setValueForUser(const String&);
    6162    virtual void setValueFromRenderer(const String&);
    6263
Note: See TracChangeset for help on using the changeset viewer.