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

Unified Diff: sky/engine/core/rendering/RenderLayer.h

Issue 944073006: Remove the concept of staticly positioned absolutes. (Closed) Base URL: git@github.com:domokit/mojo.git@position
Patch Set: Created 5 years, 10 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: sky/engine/core/rendering/RenderLayer.h
diff --git a/sky/engine/core/rendering/RenderLayer.h b/sky/engine/core/rendering/RenderLayer.h
index 5237928fcd928aba042b8d5c50b724424f289c32..ea26e38dfddb172f2ab37deeec13fc1e8cf12feb 100644
--- a/sky/engine/core/rendering/RenderLayer.h
+++ b/sky/engine/core/rendering/RenderLayer.h
@@ -159,12 +159,6 @@ public:
LayoutRect boundingBoxForCompositing(const RenderLayer* ancestorLayer = 0) const;
- LayoutUnit staticInlinePosition() const { return m_staticInlinePosition; }
- LayoutUnit staticBlockPosition() const { return m_staticBlockPosition; }
-
- void setStaticInlinePosition(LayoutUnit position) { m_staticInlinePosition = position; }
- void setStaticBlockPosition(LayoutUnit position) { m_staticBlockPosition = position; }
-
LayoutSize subpixelAccumulation() const;
void setSubpixelAccumulation(const LayoutSize&);
@@ -314,10 +308,6 @@ private:
RenderLayer* m_first;
RenderLayer* m_last;
- // Cached normal flow values for absolute positioned elements with static left/top values.
- LayoutUnit m_staticInlinePosition;
- LayoutUnit m_staticBlockPosition;
-
OwnPtr<TransformationMatrix> m_transform;
RenderLayerClipper m_clipper; // FIXME: Lazily allocate?

Powered by Google App Engine
This is Rietveld 408576698