| Index: content/browser/renderer_host/input/synthetic_gesture.cc
|
| diff --git a/content/browser/renderer_host/input/synthetic_gesture.cc b/content/browser/renderer_host/input/synthetic_gesture.cc
|
| index 8b2b3bedbe63ca9166056987e68b7a47e6e70646..bc887e1dfe2e7ad5aea9b89e2a41ead4cf8c9ca1 100644
|
| --- a/content/browser/renderer_host/input/synthetic_gesture.cc
|
| +++ b/content/browser/renderer_host/input/synthetic_gesture.cc
|
| @@ -43,4 +43,10 @@ scoped_ptr<SyntheticGesture> SyntheticGesture::Create(
|
| return scoped_ptr<SyntheticGesture>();
|
| }
|
|
|
| +// static
|
| +double SyntheticGesture::ConvertTimestampToSeconds(
|
| + const base::TimeTicks& timestamp) {
|
| + return (timestamp - base::TimeTicks()).InSecondsF();
|
| +}
|
| +
|
| } // namespace content
|
|
|