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

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

Issue 686633002: First pass at removing position:fixed. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « sky/engine/core/page/scrolling/ScrollingCoordinator.cpp ('k') | sky/engine/core/rendering/LayoutState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/ClipRects.h
diff --git a/sky/engine/core/rendering/ClipRects.h b/sky/engine/core/rendering/ClipRects.h
index 581677492bcfec697127e1c3027c7369b20943fc..c03a04f68815592ed15ed0de6954bac991a961c1 100644
--- a/sky/engine/core/rendering/ClipRects.h
+++ b/sky/engine/core/rendering/ClipRects.h
@@ -52,7 +52,6 @@ public:
void reset(const LayoutRect& r)
{
m_overflowClipRect = r;
- m_fixedClipRect = r;
m_posClipRect = r;
m_fixed = 0;
}
@@ -60,9 +59,6 @@ public:
const ClipRect& overflowClipRect() const { return m_overflowClipRect; }
void setOverflowClipRect(const ClipRect& r) { m_overflowClipRect = r; }
- const ClipRect& fixedClipRect() const { return m_fixedClipRect; }
- void setFixedClipRect(const ClipRect&r) { m_fixedClipRect = r; }
-
const ClipRect& posClipRect() const { return m_posClipRect; }
void setPosClipRect(const ClipRect& r) { m_posClipRect = r; }
@@ -79,7 +75,6 @@ public:
bool operator==(const ClipRects& other) const
{
return m_overflowClipRect == other.overflowClipRect()
- && m_fixedClipRect == other.fixedClipRect()
&& m_posClipRect == other.posClipRect()
&& fixed() == other.fixed();
}
@@ -87,7 +82,6 @@ public:
ClipRects& operator=(const ClipRects& other)
{
m_overflowClipRect = other.overflowClipRect();
- m_fixedClipRect = other.fixedClipRect();
m_posClipRect = other.posClipRect();
m_fixed = other.fixed();
return *this;
@@ -96,7 +90,6 @@ public:
private:
ClipRects(const LayoutRect& r)
: m_overflowClipRect(r)
- , m_fixedClipRect(r)
, m_posClipRect(r)
, m_refCnt(1)
, m_fixed(0)
@@ -105,7 +98,6 @@ private:
ClipRects(const ClipRects& other)
: m_overflowClipRect(other.overflowClipRect())
- , m_fixedClipRect(other.fixedClipRect())
, m_posClipRect(other.posClipRect())
, m_refCnt(1)
, m_fixed(other.fixed())
@@ -113,7 +105,6 @@ private:
}
ClipRect m_overflowClipRect;
- ClipRect m_fixedClipRect;
ClipRect m_posClipRect;
unsigned m_refCnt : 31;
unsigned m_fixed : 1;
« no previous file with comments | « sky/engine/core/page/scrolling/ScrollingCoordinator.cpp ('k') | sky/engine/core/rendering/LayoutState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698