| Index: Source/platform/geometry/FloatRect.h
|
| diff --git a/Source/platform/geometry/FloatRect.h b/Source/platform/geometry/FloatRect.h
|
| index 661ca88a9ecfef63abfe8f6dcc9a1c5c4101891e..6195926a43ff988447fc86e102781c8a57294824 100644
|
| --- a/Source/platform/geometry/FloatRect.h
|
| +++ b/Source/platform/geometry/FloatRect.h
|
| @@ -28,6 +28,7 @@
|
| #define FloatRect_h
|
|
|
| #include "platform/geometry/FloatPoint.h"
|
| +#include "third_party/skia/include/core/SkRect.h"
|
| #include "wtf/Vector.h"
|
|
|
| #if OS(MACOSX)
|
| @@ -38,8 +39,6 @@ typedef struct CGRect CGRect;
|
| #endif
|
| #endif
|
|
|
| -struct SkRect;
|
| -
|
| namespace WebCore {
|
|
|
| class LayoutRect;
|
| @@ -172,7 +171,7 @@ public:
|
| #endif
|
| #endif
|
|
|
| - operator SkRect() const;
|
| + operator SkRect() const { return SkRect::MakeXYWH(x(), y(), width(), height()); }
|
|
|
| private:
|
| FloatPoint m_location;
|
|
|