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

Unified Diff: Source/core/frame/FrameView.cpp

Issue 443773002: Delete UpdateLayerPositionsFlags (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | « no previous file | Source/core/rendering/RenderLayer.h » ('j') | Source/core/rendering/RenderLayer.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index 5bf69344314dc992f5d6328f573bf005a638ee83..224af089bca2d8a4ee3c78cf80ebfb2a44955f00 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -94,14 +94,6 @@ bool FrameView::s_inPaintContents = false;
static const unsigned maxUpdateWidgetsIterations = 2;
static const double resourcePriorityUpdateDelayAfterScroll = 0.250;
-static RenderLayer::UpdateLayerPositionsFlags updateLayerPositionFlags(RenderLayer* layer, bool isRelayoutingSubtree)
-{
- if (isRelayoutingSubtree && (layer->isPaginated() || layer->enclosingPaginationLayer()))
- return RenderLayer::UpdatePagination;
-
- return 0;
-}
-
FrameView::FrameView(LocalFrame* frame)
: m_frame(frame)
, m_canHaveScrollbars(true)
@@ -943,7 +935,7 @@ void FrameView::layout(bool allowSubtree)
if (!inSubtreeLayout && !toRenderView(rootForThisLayout)->document().printing())
adjustViewSize();
- layer->updateLayerPositionsAfterLayout(updateLayerPositionFlags(layer, inSubtreeLayout));
+ layer->updateLayerPositionsAfterLayout();
if (m_doFullPaintInvalidation)
renderView()->compositor()->fullyInvalidatePaint();
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayer.h » ('j') | Source/core/rendering/RenderLayer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698