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

Unified Diff: third_party/WebKit/WebCore/rendering/RenderSVGInlineText.cpp

Issue 10670: Do another merge using nifty new merge script (CL for that coming soon). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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: third_party/WebKit/WebCore/rendering/RenderSVGInlineText.cpp
===================================================================
--- third_party/WebKit/WebCore/rendering/RenderSVGInlineText.cpp (revision 5296)
+++ third_party/WebKit/WebCore/rendering/RenderSVGInlineText.cpp (working copy)
@@ -58,6 +58,11 @@
rects.append(computeAbsoluteRectForRange(0, textLength()));
}
+void RenderSVGInlineText::absoluteQuads(Vector<FloatQuad>& quads, bool topLevel)
+{
+ quads.append(FloatRect(computeAbsoluteRectForRange(0, textLength())));
+}
+
IntRect RenderSVGInlineText::selectionRect(bool)
{
ASSERT(!needsLayout());
@@ -115,6 +120,7 @@
FloatRect fixedRect(narrowPrecisionToFloat(rect.x() + absPos.x() - xPos() - htmlParentCtm.e()),
narrowPrecisionToFloat(rect.y() + absPos.y() - yPos() - htmlParentCtm.f()), rect.width(), rect.height());
+ // FIXME: broken with CSS transforms
return enclosingIntRect(absoluteTransform().mapRect(fixedRect));
}
« no previous file with comments | « third_party/WebKit/WebCore/rendering/RenderSVGInlineText.h ('k') | third_party/WebKit/WebCore/rendering/RenderSVGRoot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698