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

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

Issue 449723003: Simply rules for compositing fixed position elements (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Deleted 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 | « Source/core/page/scrolling/ScrollingCoordinator.cpp ('k') | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderLayer.h
diff --git a/Source/core/rendering/RenderLayer.h b/Source/core/rendering/RenderLayer.h
index 03d5fe0e62f3423b2c7cf015733cfdd5d8c73889..cae8a024a11cde20990ee557130a1d35641b87c4 100644
--- a/Source/core/rendering/RenderLayer.h
+++ b/Source/core/rendering/RenderLayer.h
@@ -376,23 +376,6 @@ public:
bool isInTopLayer() const;
- enum ViewportConstrainedNotCompositedReason {
- NoNotCompositedReason = 0,
- NotCompositedForBoundsOutOfView,
- NotCompositedForNonViewContainer,
- NotCompositedForNoVisibleContent,
- NotCompositedForUnscrollableAncestors,
- NumNotCompositedReasons,
-
- // This is the number of bits used to store the viewport constrained not composited
- // reasons. We define this constant since sizeof won't return the number of bits, and we
- // shouldn't duplicate the constant.
- ViewportConstrainedNotCompositedReasonBits = 3
- };
-
- void setViewportConstrainedNotCompositedReason(ViewportConstrainedNotCompositedReason reason) { m_viewportConstrainedNotCompositedReason = reason; }
- ViewportConstrainedNotCompositedReason viewportConstrainedNotCompositedReason() const { ASSERT(isAllowedToQueryCompositingState()); return static_cast<ViewportConstrainedNotCompositedReason>(m_viewportConstrainedNotCompositedReason); }
-
bool scrollsWithViewport() const;
bool scrollsWithRespectTo(const RenderLayer*) const;
@@ -713,9 +696,6 @@ private:
// and we don't yet know to what graphics layer this RenderLayer will be assigned.
unsigned m_lostGroupedMapping : 1;
- // The reason, if any exists, that a fixed-position layer is chosen not to be composited.
- unsigned m_viewportConstrainedNotCompositedReason : ViewportConstrainedNotCompositedReasonBits;
-
RenderLayerModelObject* m_renderer;
RenderLayer* m_parent;
« no previous file with comments | « Source/core/page/scrolling/ScrollingCoordinator.cpp ('k') | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698