diff options
author | Cary Clark <cary@android.com> | 2010-04-26 14:32:27 -0400 |
---|---|---|
committer | Cary Clark <cary@android.com> | 2010-04-26 14:32:27 -0400 |
commit | 855bf5a103b19bdc941fc9533166f8bb770e26f9 (patch) | |
tree | 4f8b629597445ea5f246813a6fdceb2c4bd0efa0 /WebKit/android/nav/CachedInput.h | |
parent | 920cf0c10e5568144cae2c54cf9b0c5bdbcad095 (diff) | |
download | external_webkit-855bf5a103b19bdc941fc9533166f8bb770e26f9.zip external_webkit-855bf5a103b19bdc941fc9533166f8bb770e26f9.tar.gz external_webkit-855bf5a103b19bdc941fc9533166f8bb770e26f9.tar.bz2 |
move CachedInput::init() to cpp
The implementation of init() calls bzero, which is defined
in CachedPrefix.h. if CachedInput.h is included directly
bzero may not be defined. It is always defined for
CachedInput.cpp.
http://b/2535696
enter the commit message for your changes. Lines starting
Change-Id: I995498cd4bc611f0f1a45aadf27a1fd330e62410
Diffstat (limited to 'WebKit/android/nav/CachedInput.h')
-rw-r--r-- | WebKit/android/nav/CachedInput.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/WebKit/android/nav/CachedInput.h b/WebKit/android/nav/CachedInput.h index 42cadf1..a3d6b10 100644 --- a/WebKit/android/nav/CachedInput.h +++ b/WebKit/android/nav/CachedInput.h @@ -39,10 +39,7 @@ public: // constructor } void* formPointer() const { return mForm; } - void init() { - bzero(this, sizeof(CachedInput)); - mName = WebCore::String(); - } + void init(); WebCore::HTMLInputElement::InputType inputType() const { return mInputType; } bool isRtlText() const { return mIsRtlText; } bool isTextField() const { return mIsTextField; } |