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

Unified Diff: third_party/WebKit/Source/core/style/StyleBoxData.cpp

Issue 2841353002: Split initial methods of (/max/min)(width/height) on ComputedStyle. (Closed)
Patch Set: gco rename-style-box && gut Created 3 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
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/StyleBoxData.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleBoxData.cpp b/third_party/WebKit/Source/core/style/StyleBoxData.cpp
index 5b00a9d34108557186c61929372490bcbccda359..1e2e7546cdbc4d414c5b62a082435701523bbd31 100644
--- a/third_party/WebKit/Source/core/style/StyleBoxData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleBoxData.cpp
@@ -35,10 +35,10 @@ static_assert(sizeof(StyleBoxData) == sizeof(SameSizeAsStyleBoxData),
"StyleBoxData should stay small");
StyleBoxData::StyleBoxData()
- : min_width_(ComputedStyle::InitialMinSize()),
- max_width_(ComputedStyle::InitialMaxSize()),
- min_height_(ComputedStyle::InitialMinSize()),
- max_height_(ComputedStyle::InitialMaxSize()),
+ : min_width_(ComputedStyle::InitialMinWidth()),
+ max_width_(ComputedStyle::InitialMaxWidth()),
+ min_height_(ComputedStyle::InitialMinHeight()),
+ max_height_(ComputedStyle::InitialMaxHeight()),
z_index_(0),
has_auto_z_index_(true),
box_sizing_(static_cast<unsigned>(ComputedStyle::InitialBoxSizing())),
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698