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

Unified Diff: third_party/WebKit/WebCore/rendering/RenderView.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
« no previous file with comments | « third_party/WebKit/WebCore/rendering/RenderView.h ('k') | third_party/WebKit/WebKit/mac/ChangeLog » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/WebCore/rendering/RenderView.cpp
===================================================================
--- third_party/WebKit/WebCore/rendering/RenderView.cpp (revision 5296)
+++ third_party/WebKit/WebCore/rendering/RenderView.cpp (working copy)
@@ -147,6 +147,15 @@
return containerPoint;
}
+FloatQuad RenderView::localToAbsoluteQuad(const FloatQuad& localQuad, bool fixed) const
+{
+ FloatQuad quad = localQuad;
+ if (fixed && m_frameView)
+ quad += m_frameView->scrollOffset();
+
+ return quad;
+}
+
void RenderView::paint(PaintInfo& paintInfo, int tx, int ty)
{
// If we ever require layout but receive a paint anyway, something has gone horribly wrong.
@@ -242,6 +251,11 @@
rects.append(IntRect(tx, ty, m_layer->width(), m_layer->height()));
}
+void RenderView::absoluteQuads(Vector<FloatQuad>& quads, bool topLevel)
+{
+ quads.append(FloatRect(0, 0, m_layer->width(), m_layer->height()));
+}
+
RenderObject* rendererAfterPosition(RenderObject* object, unsigned offset)
{
if (!object)
« no previous file with comments | « third_party/WebKit/WebCore/rendering/RenderView.h ('k') | third_party/WebKit/WebKit/mac/ChangeLog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698