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

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

Issue 337593002: Remove call to setMayNeedPaintInvalidation in RenderLayer::updateLayerPositionRecursive (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: MOre cleanup Created 6 years, 6 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/RenderBox.cpp
diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp
index 82ad9b84a965d0a9050590052bf5337c0038ba51..5efc61b7278892d64994dbd3c118c2fa45cca735 100644
--- a/Source/core/rendering/RenderBox.cpp
+++ b/Source/core/rendering/RenderBox.cpp
@@ -1991,7 +1991,7 @@ void RenderBox::deleteLineBoxWrapper()
LayoutRect RenderBox::clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer) const
{
- if (style()->visibility() != VISIBLE && !enclosingLayer()->hasVisibleContent())
+ if (style()->visibility() != VISIBLE && enclosingLayer()->subtreeIsInvisible())
return LayoutRect();
LayoutRect r = visualOverflowRect();

Powered by Google App Engine
This is Rietveld 408576698