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

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

Issue 2853433003: Generate enum/getters/setters/mappings for box-sizing. (Closed)
Patch Set: Rebase Created 3 years, 7 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/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index a7af98ab1d02eb7ffc692ca12966bd4336aed3d7..ebabfef8b1426d1a663d5073ecf9a38de55537c0 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -597,15 +597,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
}
void SetBoxShadow(PassRefPtr<ShadowList>);
- // box-sizing (aka -webkit-box-sizing)
- static EBoxSizing InitialBoxSizing() { return EBoxSizing::kContentBox; }
- EBoxSizing BoxSizing() const {
- return static_cast<EBoxSizing>(box_data_->box_sizing_);
- }
- void SetBoxSizing(EBoxSizing s) {
- SET_VAR(box_data_, box_sizing_, static_cast<unsigned>(s));
- }
-
// clip
static LengthBox InitialClip() { return LengthBox(); }
const LengthBox& Clip() const { return visual_data_->clip_; }

Powered by Google App Engine
This is Rietveld 408576698