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

Unified Diff: third_party/WebKit/WebCore/rendering/RenderContainer.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/RenderContainer.cpp
===================================================================
--- third_party/WebKit/WebCore/rendering/RenderContainer.cpp (revision 5296)
+++ third_party/WebKit/WebCore/rendering/RenderContainer.cpp (working copy)
@@ -679,6 +679,23 @@
}
}
+void RenderContainer::collectAbsoluteLineBoxQuads(Vector<FloatQuad>& quads, unsigned start, unsigned end, bool useSelectionHeight)
+{
+ if (!m_firstChild && (isInline() || isAnonymousBlock())) {
+ absoluteQuads(quads);
+ return;
+ }
+
+ if (!m_firstChild)
+ return;
+
+ unsigned offset = start;
+ for (RenderObject* child = childAt(start); child && offset < end; child = child->nextSibling(), ++offset) {
+ if (child->isText() || child->isInline() || child->isAnonymousBlock())
+ child->absoluteQuads(quads);
+ }
+}
+
#undef DEBUG_LAYOUT
} // namespace WebCore
« no previous file with comments | « third_party/WebKit/WebCore/rendering/RenderContainer.h ('k') | third_party/WebKit/WebCore/rendering/RenderInline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698