summaryrefslogtreecommitdiffstats
path: root/WebKit
diff options
context:
space:
mode:
authorCary Clark <cary@android.com>2010-04-27 01:50:21 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-04-27 01:50:21 -0700
commit591200de2c315f70fb717eb40570667c97572c4b (patch)
tree5f4e089ef1d3cd0bb83b1f75cbbe439ebc02a684 /WebKit
parent377929b9f78a89a370a95834beb8f32b2ed494b4 (diff)
parent855bf5a103b19bdc941fc9533166f8bb770e26f9 (diff)
downloadexternal_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.cpp5
-rw-r--r--WebKit/android/nav/CachedInput.h5
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; }