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

Unified Diff: sky/engine/core/frame/FrameView.cpp

Issue 840403003: First pass at deleting paint invalidation code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « sky/engine/core/editing/SpellChecker.cpp ('k') | sky/engine/core/rendering/RenderBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/FrameView.cpp
diff --git a/sky/engine/core/frame/FrameView.cpp b/sky/engine/core/frame/FrameView.cpp
index 8eaf22f4cedf81f665abbbde280e70330280f08b..5ff554bfe60b666ba53dc2b55056a62d6cad1fae 100644
--- a/sky/engine/core/frame/FrameView.cpp
+++ b/sky/engine/core/frame/FrameView.cpp
@@ -371,11 +371,6 @@ void FrameView::layout(bool allowSubtree)
performLayout(rootForThisLayout, inSubtreeLayout);
m_layoutSubtreeRoot = 0;
- // We need to ensure that we mark up all renderers up to the RenderView
- // for paint invalidation. This simplifies our code as we just always
- // do a full tree walk.
- if (RenderObject* container = rootForThisLayout->container())
- container->setMayNeedPaintInvalidation(true);
} // Reset m_layoutSchedulingEnabled to its previous value.
layer->updateLayerPositionsAfterLayout();
« no previous file with comments | « sky/engine/core/editing/SpellChecker.cpp ('k') | sky/engine/core/rendering/RenderBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698