| Index: cc/stubs/IntSize.h
|
| diff --git a/cc/stubs/IntSize.h b/cc/stubs/IntSize.h
|
| index c53f4f155dd6667c239d4da0eca87c8f5d19e6ad..916a4fef71fb8a7180ea739a45f5fe91c653f8ff 100644
|
| --- a/cc/stubs/IntSize.h
|
| +++ b/cc/stubs/IntSize.h
|
| @@ -10,6 +10,7 @@
|
| #else
|
| #include "third_party/WebKit/Source/WebCore/platform/graphics/IntSize.h"
|
| #endif
|
| +#include <public/WebSize.h>
|
|
|
| namespace cc {
|
|
|
| @@ -27,6 +28,16 @@ public:
|
| {
|
|
|
| }
|
| +
|
| + IntSize(WebKit::WebSize point)
|
| + : WebCore::IntSize(point.width, point.height)
|
| + {
|
| + }
|
| +
|
| + operator WebKit::WebSize() const
|
| + {
|
| + return WebKit::WebSize(width(), height());
|
| + }
|
| };
|
|
|
| }
|
|
|