| Index: cc/stubs/IntPoint.h
|
| diff --git a/cc/stubs/IntPoint.h b/cc/stubs/IntPoint.h
|
| index fa12deadd4c94311386cccd56eec27e170ea1288..285f47c4473893508f83420dbd7fef601053ecf8 100644
|
| --- a/cc/stubs/IntPoint.h
|
| +++ b/cc/stubs/IntPoint.h
|
| @@ -11,6 +11,7 @@
|
| #else
|
| #include "third_party/WebKit/Source/WebCore/platform/graphics/IntPoint.h"
|
| #endif
|
| +#include <public/WebPoint.h>
|
|
|
| namespace cc {
|
|
|
| @@ -31,7 +32,16 @@ public:
|
| IntPoint(WebCore::IntPoint point)
|
| : WebCore::IntPoint(point.x(), point.y())
|
| {
|
| + }
|
|
|
| + IntPoint(WebKit::WebPoint point)
|
| + : WebCore::IntPoint(point.x, point.y)
|
| + {
|
| + }
|
| +
|
| + operator WebKit::WebPoint() const
|
| + {
|
| + return WebKit::WebPoint(x(), y());
|
| }
|
| };
|
|
|
|
|