Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/GraphicsContext.h |
| diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContext.h b/third_party/WebKit/Source/platform/graphics/GraphicsContext.h |
| index 8149f19d43a3073e3f03e7d320daacf07da0c18c..3c4b0600dab80216fdeb721c8e8dc7e7a5b20739 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.h |
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.h |
| @@ -30,8 +30,6 @@ |
| #include "platform/PlatformExport.h" |
| #include "platform/fonts/Font.h" |
| -#include "platform/geometry/FloatRect.h" |
| -#include "platform/geometry/FloatRoundedRect.h" |
| #include "platform/graphics/DashArray.h" |
| #include "platform/graphics/DrawLooperBuilder.h" |
| #include "platform/graphics/GraphicsContextState.h" |
| @@ -57,6 +55,8 @@ struct SkRect; |
| namespace blink { |
| +class FloatRect; |
| +class FloatRoundedRect; |
| class ImageBuffer; |
| class KURL; |
| class PaintController; |
| @@ -162,6 +162,8 @@ public: |
| void drawImage(Image*, const FloatRect& destRect, const FloatRect* srcRect = nullptr, |
| SkXfermode::Mode = SkXfermode::kSrcOver_Mode, RespectImageOrientationEnum = DoNotRespectImageOrientation); |
| + void drawImageRRect(Image*, const FloatRoundedRect& dest, const FloatRect* srcRect = nullptr, |
|
chrishtr
2016/05/20 15:44:13
Make the srcRect parameter required.
f(malita)
2016/05/20 19:17:11
Done.
|
| + SkXfermode::Mode = SkXfermode::kSrcOver_Mode, RespectImageOrientationEnum = DoNotRespectImageOrientation); |
| void drawTiledImage(Image*, const FloatRect& destRect, const FloatPoint& srcPoint, const FloatSize& tileSize, |
| SkXfermode::Mode = SkXfermode::kSrcOver_Mode, const FloatSize& repeatSpacing = FloatSize()); |
| void drawTiledImage(Image*, const FloatRect& destRect, const FloatRect& srcRect, |