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

Unified Diff: sky/engine/core/rendering/RenderLayer.cpp

Issue 791023006: Delete invalidateTreeIfNeeded. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Remove unneeded call 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/rendering/RenderLayer.h ('k') | sky/engine/core/rendering/RenderLayerModelObject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/RenderLayer.cpp
diff --git a/sky/engine/core/rendering/RenderLayer.cpp b/sky/engine/core/rendering/RenderLayer.cpp
index 2bfcc5ac60a215fba0a25e4a026a839660d1c3ef..2ffe2e31e1722ba118d989c45f9808d335989809 100644
--- a/sky/engine/core/rendering/RenderLayer.cpp
+++ b/sky/engine/core/rendering/RenderLayer.cpp
@@ -714,7 +714,6 @@ void RenderLayer::removeOnlyThisLayer()
removeChild(current);
m_parent->addChild(current, nextSib);
- current->renderer()->setShouldDoFullPaintInvalidation(true);
// FIXME: We should call a specialized version of this function.
current->updateLayerPositionsAfterLayout();
current = next;
@@ -2003,15 +2002,6 @@ void RenderLayer::filterNeedsPaintInvalidation()
{
}
-void RenderLayer::setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants()
-{
- renderer()->setShouldDoFullPaintInvalidation(true);
-
- for (RenderLayer* child = firstChild(); child; child = child->nextSibling()) {
- child->setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants();
- }
-}
-
} // namespace blink
#ifndef NDEBUG
« no previous file with comments | « sky/engine/core/rendering/RenderLayer.h ('k') | sky/engine/core/rendering/RenderLayerModelObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698