| Index: cc/stubs/IntSize.h
|
| diff --git a/cc/stubs/IntSize.h b/cc/stubs/IntSize.h
|
| index c53f4f155dd6667c239d4da0eca87c8f5d19e6ad..96c716afcc0a8525599418347f3b19053843d133 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 "cc/math/int_size.h"
|
|
|
| namespace cc {
|
|
|
| @@ -27,6 +28,13 @@ public:
|
| {
|
|
|
| }
|
| +
|
| + explicit IntSize(ccmath::IntSize size)
|
| + : WebCore::IntSize(size.width(), size.height())
|
| + {
|
| + }
|
| +
|
| + operator ccmath::IntSize() const { return ccmath::IntSize(width(), height()); }
|
| };
|
|
|
| }
|
|
|