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

Unified Diff: Source/core/rendering/RenderView.h

Issue 247803003: Remove assumption that null containerForRepaint assumes RenderView (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix zee nits Created 6 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
« no previous file with comments | « Source/core/rendering/RenderObject.cpp ('k') | Source/core/rendering/compositing/RenderLayerCompositor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderView.h
diff --git a/Source/core/rendering/RenderView.h b/Source/core/rendering/RenderView.h
index c437281e8d6067de67037fa106e29677695406ca..3592378f9cd91bafdf8b8d2a427e5eb1415f78d2 100644
--- a/Source/core/rendering/RenderView.h
+++ b/Source/core/rendering/RenderView.h
@@ -143,9 +143,8 @@ public:
bool canUseLayoutStateForContainer(const RenderObject* repaintContainer) const
{
- // FIXME: Repaint container should never be null. crbug.com/363699
// FIXME: LayoutState should be enabled for other repaint containers than the RenderView. crbug.com/363834
- return layoutStateEnabled() && (!repaintContainer || repaintContainer == this);
+ return layoutStateEnabled() && (repaintContainer == this);
}
virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&) OVERRIDE;
« no previous file with comments | « Source/core/rendering/RenderObject.cpp ('k') | Source/core/rendering/compositing/RenderLayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698