Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2030)

Unified Diff: Source/core/rendering/svg/SVGRenderingContext.cpp

Issue 453653003: [SVG] DisplayList-based patterns. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 9 tests marked for rebaseline Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/rendering/svg/SVGRenderingContext.cpp
diff --git a/Source/core/rendering/svg/SVGRenderingContext.cpp b/Source/core/rendering/svg/SVGRenderingContext.cpp
index f5e310a8696158782cdefd2fb722904aff6b1d33..da80408290fd302e9065dc3a95f41996c0b9a293 100644
--- a/Source/core/rendering/svg/SVGRenderingContext.cpp
+++ b/Source/core/rendering/svg/SVGRenderingContext.cpp
@@ -38,8 +38,6 @@
#include "core/rendering/svg/SVGResources.h"
#include "core/rendering/svg/SVGResourcesCache.h"
-static int kMaxImageBufferSize = 4096;
-
namespace blink {
static inline bool isRenderingMaskImage(RenderObject* object)
@@ -263,12 +261,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));
Erik Dahlström (inactive) 2014/08/08 08:01:02 Does the new codepath have similar guards against
f(malita) 2014/08/08 15:30:36 Yes, just landed yesterday :) https://codereview.c
-}
-
void SVGRenderingContext::clear2DRotation(AffineTransform& transform)
{
AffineTransform::DecomposedType decomposition;

Powered by Google App Engine
This is Rietveld 408576698