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

Unified Diff: third_party/WebKit/WebCore/rendering/RenderInline.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/RenderInline.cpp
===================================================================
--- third_party/WebKit/WebCore/rendering/RenderInline.cpp (revision 5296)
+++ third_party/WebKit/WebCore/rendering/RenderInline.cpp (working copy)
@@ -301,6 +301,22 @@
topLevel);
}
+void RenderInline::absoluteQuads(Vector<FloatQuad>& quads, bool topLevel)
+{
+ for (InlineRunBox* curr = firstLineBox(); curr; curr = curr->nextLineBox()) {
+ FloatRect localRect(curr->xPos(), curr->yPos(), curr->width(), curr->height());
+ quads.append(localToAbsoluteQuad(localRect));
+ }
+
+ for (RenderObject* curr = firstChild(); curr; curr = curr->nextSibling()) {
+ if (!curr->isText())
+ curr->absoluteQuads(quads, false);
+ }
+
+ if (continuation() && topLevel)
+ continuation()->absoluteQuads(quads, topLevel);
+}
+
bool RenderInline::requiresLayer()
{
return isRelPositioned() || isTransparent() || hasMask();
« no previous file with comments | « third_party/WebKit/WebCore/rendering/RenderInline.h ('k') | third_party/WebKit/WebCore/rendering/RenderObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698