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

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

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
Index: Source/core/rendering/RenderLayer.h
diff --git a/Source/core/rendering/RenderLayer.h b/Source/core/rendering/RenderLayer.h
index 5eb81abc775c5092328c94f343c7fd2ca9b386e6..f6778904dd14d5f235425d90ea7e09317d3a224d 100644
--- a/Source/core/rendering/RenderLayer.h
+++ b/Source/core/rendering/RenderLayer.h
@@ -153,17 +153,9 @@ public:
// Allows updates of layer content without invalidating paint.
void contentChanged(ContentChangeType);
- enum UpdateLayerPositionsFlag {
- UpdatePagination = 1 << 0,
- };
- typedef unsigned UpdateLayerPositionsFlags;
-
- void updateLayerPositionsAfterLayout(UpdateLayerPositionsFlags);
+ void updateLayerPositionsAfterLayout();
void updateLayerPositionsAfterOverflowScroll();
- // FIXME: Should updateLayerPositions be private?
- void updateLayerPositionRecursive(UpdateLayerPositionsFlags = 0);
-
bool isPaginated() const { return m_isPaginated; }
RenderLayer* enclosingPaginationLayer() const { return m_enclosingPaginationLayer; }
@@ -565,6 +557,7 @@ private:
// Returns true if the position changed.
bool updateLayerPosition();
+ void updateLayerPositionRecursive();
void updateLayerPositionsAfterScrollRecursive();
void setNextSibling(RenderLayer* next) { m_next = next; }
@@ -659,6 +652,7 @@ private:
LayoutRect paintingExtent(const RenderLayer* rootLayer, const LayoutRect& paintDirtyRect, const LayoutSize& subPixelAccumulation, PaintBehavior);
+ void updatePaginationRecursive(bool needsPaginationUpdate = false);
void updatePagination();
// FIXME: Temporary. Remove when new columns come online.

Powered by Google App Engine
This is Rietveld 408576698