Index: webkit/glue/fling_animator_impl_android.h |
diff --git a/webkit/glue/fling_animator_impl_android.h b/webkit/glue/fling_animator_impl_android.h |
index 8d3758b60385370a312ce020faa418d5eb36c344..0068c7357019225124aa8e6f2fc41d3260507b83 100644 |
--- a/webkit/glue/fling_animator_impl_android.h |
+++ b/webkit/glue/fling_animator_impl_android.h |
@@ -29,6 +29,9 @@ class FlingAnimatorImpl : public WebKit::WebGestureCurve { |
virtual bool apply(double time, |
WebKit::WebGestureCurveTarget* target); |
+ |
+ static bool RegisterJni(JNIEnv*); |
+ |
private: |
void StartFling(const gfx::PointF& velocity); |
// Returns true if the animation is not yet finished. |
@@ -40,11 +43,6 @@ class FlingAnimatorImpl : public WebKit::WebGestureCurve { |
// Java OverScroller instance and methods. |
base::android::ScopedJavaGlobalRef<jobject> java_scroller_; |
- jmethodID fling_method_id_; |
- jmethodID abort_method_id_; |
- jmethodID compute_method_id_; |
- jmethodID getX_method_id_; |
- jmethodID getY_method_id_; |
gfx::Point last_position_; |