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

Unified Diff: third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h

Issue 1737453002: WIP: snap-width Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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: third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h
diff --git a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h
index daba95c154f70c4774418e650cfa2bda5977a24b..68cd031f9e3ae9129f3b7cc9a374528bdfa818f4 100644
--- a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h
+++ b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h
@@ -212,6 +212,9 @@ public:
unsigned m_hasAuthorBackground : 1; // Whether there is a author-defined background.
unsigned m_hasAuthorBorder : 1; // Whether there is a author-defined border.
+ static const int kSnapWidthBits = 6;
+ unsigned m_snapWidth : kSnapWidthBits + kLayoutUnitFractionalBits;
+
private:
StyleRareNonInheritedData();
StyleRareNonInheritedData(const StyleRareNonInheritedData&);

Powered by Google App Engine
This is Rietveld 408576698