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

Unified Diff: sky/engine/core/rendering/style/StyleBoxData.h

Issue 873983007: Remove negative z-index. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/rendering/style/RenderStyle.h ('k') | sky/engine/core/rendering/style/StyleBoxData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/style/StyleBoxData.h
diff --git a/sky/engine/core/rendering/style/StyleBoxData.h b/sky/engine/core/rendering/style/StyleBoxData.h
index d3f44a8d518487d871e1631ba44e66f57bdcee5e..70923647639fbb8959caa531be3e819604118c28 100644
--- a/sky/engine/core/rendering/style/StyleBoxData.h
+++ b/sky/engine/core/rendering/style/StyleBoxData.h
@@ -54,7 +54,7 @@ public:
const Length& verticalAlign() const { return m_verticalAlign; }
- int zIndex() const { return m_zIndex; }
+ unsigned zIndex() const { return m_zIndex; }
bool hasAutoZIndex() const { return m_hasAutoZIndex; }
EBoxSizing boxSizing() const { return static_cast<EBoxSizing>(m_boxSizing); }
@@ -77,7 +77,7 @@ private:
Length m_verticalAlign;
- int m_zIndex;
+ unsigned m_zIndex;
unsigned m_hasAutoZIndex : 1;
unsigned m_boxSizing : 1; // EBoxSizing
unsigned m_boxDecorationBreak : 1; // EBoxDecorationBreak
« no previous file with comments | « sky/engine/core/rendering/style/RenderStyle.h ('k') | sky/engine/core/rendering/style/StyleBoxData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698