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

Unified Diff: Source/core/rendering/RenderLayer.cpp

Issue 13937017: Implement lazy block layout prototype behind a runtime flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/RenderLayer.cpp
diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp
index 661a6414e2cf06f70b56d94e570a16129c841be4..9ce524d8cf3878fc427e79aa477f8fd598c5a7ce 100644
--- a/Source/core/rendering/RenderLayer.cpp
+++ b/Source/core/rendering/RenderLayer.cpp
@@ -99,6 +99,7 @@
#include "core/rendering/RenderInline.h"
#include "core/rendering/RenderLayerBacking.h"
#include "core/rendering/RenderLayerCompositor.h"
+#include "core/rendering/RenderLazyBlock.h"
#include "core/rendering/RenderMarquee.h"
#include "core/rendering/RenderReplica.h"
#include "core/rendering/RenderScrollbar.h"
@@ -2340,6 +2341,8 @@ void RenderLayer::scrollTo(int x, int y)
view->frameView()->updateAnnotatedRegions();
view->updateWidgetPositions();
+
+ view->markLazyBlocksForLayout();
ojan 2013/04/26 00:41:16 Doesn't not doing the layout here mean that paint
esprehn 2013/04/26 00:45:44 I don't think it would be any worse than if you go
jamesr 2013/04/26 00:58:03 layout() is always called on before painting in th
}
if (!m_updatingMarqueePosition) {

Powered by Google App Engine
This is Rietveld 408576698