| Index: Source/platform/graphics/GraphicsContext.cpp
|
| diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp
|
| index 610dd132735864e15c93a1af39b884ffc144ab92..2bc17ac0298ba2e1adc2a203978d8f740f4db791 100644
|
| --- a/Source/platform/graphics/GraphicsContext.cpp
|
| +++ b/Source/platform/graphics/GraphicsContext.cpp
|
| @@ -1525,6 +1525,25 @@ void GraphicsContext::clipRRect(const SkRRect& rect, AntiAliasingMode aa, SkRegi
|
| m_canvas->clipRRect(rect, op, aa == AntiAliased);
|
| }
|
|
|
| +void GraphicsContext::beginCull(const FloatRect& rect)
|
| +{
|
| + if (paintingDisabled())
|
| + return;
|
| +
|
| + realizeCanvasSave(SkCanvas::kMatrixClip_SaveFlag);
|
| + m_canvas->pushCull(rect);
|
| +}
|
| +
|
| +void GraphicsContext::endCull()
|
| +{
|
| + if (paintingDisabled())
|
| + return;
|
| +
|
| + realizeCanvasSave(SkCanvas::kMatrixClip_SaveFlag);
|
| +
|
| + m_canvas->popCull();
|
| +}
|
| +
|
| void GraphicsContext::rotate(float angleInRadians)
|
| {
|
| if (paintingDisabled())
|
|
|