| Index: cc/stubs/FloatSize.h
|
| diff --git a/cc/stubs/FloatSize.h b/cc/stubs/FloatSize.h
|
| index 9db59788f7d52bfd1b29af44f0661b018f183a56..e8cf403a109ae1275d7b514ac1155c8d6b78b144 100644
|
| --- a/cc/stubs/FloatSize.h
|
| +++ b/cc/stubs/FloatSize.h
|
| @@ -11,6 +11,7 @@
|
| #else
|
| #include "third_party/WebKit/Source/WebCore/platform/graphics/FloatSize.h"
|
| #endif
|
| +#include "cc/math/float_size.h"
|
|
|
| namespace cc {
|
| class FloatSize : public WebCore::FloatSize {
|
| @@ -36,6 +37,8 @@ public:
|
| : WebCore::FloatSize(size.width(), size.height())
|
| {
|
| }
|
| +
|
| + operator ccmath::FloatSize() const { return ccmath::FloatSize(width(), height()); }
|
| };
|
|
|
| }
|
|
|