Index: Source/core/rendering/svg/SVGRenderingContext.cpp |
diff --git a/Source/core/rendering/svg/SVGRenderingContext.cpp b/Source/core/rendering/svg/SVGRenderingContext.cpp |
index d76d23570f270b6a2a8a062db9bc954c0916d3f2..14241249669a519df09fefe65206d9432bb36099 100644 |
--- a/Source/core/rendering/svg/SVGRenderingContext.cpp |
+++ b/Source/core/rendering/svg/SVGRenderingContext.cpp |
@@ -38,8 +38,6 @@ |
#include "core/rendering/svg/SVGResourcesCache.h" |
#include "platform/FloatConversion.h" |
-static int kMaxImageBufferSize = 4096; |
- |
namespace blink { |
SVGRenderingContext::~SVGRenderingContext() |
@@ -250,20 +248,6 @@ void SVGRenderingContext::renderSubtree(GraphicsContext* context, RenderObject* |
contentTransformation = savedContentTransformation; |
} |
-FloatRect SVGRenderingContext::clampedAbsoluteTargetRect(const FloatRect& absoluteTargetRect) |
-{ |
- const FloatSize maxImageBufferSize(kMaxImageBufferSize, kMaxImageBufferSize); |
- return FloatRect(absoluteTargetRect.location(), absoluteTargetRect.size().shrunkTo(maxImageBufferSize)); |
-} |
- |
-void SVGRenderingContext::clear2DRotation(AffineTransform& transform) |
-{ |
- AffineTransform::DecomposedType decomposition; |
- transform.decompose(decomposition); |
- decomposition.angle = 0; |
- transform.recompose(decomposition); |
-} |
- |
bool SVGRenderingContext::bufferForeground(OwnPtr<ImageBuffer>& imageBuffer) |
{ |
ASSERT(m_paintInfo); |