diff options
author | Cary Clark <cary@android.com> | 2010-04-27 01:50:21 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-04-27 01:50:21 -0700 |
commit | 591200de2c315f70fb717eb40570667c97572c4b (patch) | |
tree | 5f4e089ef1d3cd0bb83b1f75cbbe439ebc02a684 /WebKit | |
parent | 377929b9f78a89a370a95834beb8f32b2ed494b4 (diff) | |
parent | 855bf5a103b19bdc941fc9533166f8bb770e26f9 (diff) | |
download | external_webkit-591200de2c315f70fb717eb40570667c97572c4b.zip external_webkit-591200de2c315f70fb717eb40570667c97572c4b.tar.gz external_webkit-591200de2c315f70fb717eb40570667c97572c4b.tar.bz2 |
Merge "move CachedInput::init() to cpp"
Diffstat (limited to 'WebKit')
-rw-r--r-- | WebKit/android/nav/CachedInput.cpp | 5 | ||||
-rw-r--r-- | WebKit/android/nav/CachedInput.h | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/WebKit/android/nav/CachedInput.cpp b/WebKit/android/nav/CachedInput.cpp index 924bbca..dcd9ccd 100644 --- a/WebKit/android/nav/CachedInput.cpp +++ b/WebKit/android/nav/CachedInput.cpp @@ -28,6 +28,11 @@ namespace android { +void CachedInput::init() { + bzero(this, sizeof(CachedInput)); + mName = WebCore::String(); +} + #if DUMP_NAV_CACHE #define DEBUG_PRINT_BOOL(field) \ 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; } |