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

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

Issue 2842933003: CSS Motion Path: delete implementation of offset-rotation property (Closed)
Patch Set: remove offsetRotation from webexposed 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
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 d27e48ab639c9ecabc9c236e79f11a395ff03728..77c3d775e6028dac29d47d1b77f050c05da7b302 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -1171,23 +1171,14 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
// offset-rotate
static StyleOffsetRotation InitialOffsetRotate() {
- return InitialOffsetRotation();
- }
- const StyleOffsetRotation& OffsetRotate() const { return OffsetRotation(); }
- void SetOffsetRotate(const StyleOffsetRotation& offset_rotate) {
- SetOffsetRotation(offset_rotate);
- }
-
- // offset-rotation
- static StyleOffsetRotation InitialOffsetRotation() {
return StyleOffsetRotation(0, kOffsetRotationAuto);
}
- const StyleOffsetRotation& OffsetRotation() const {
+ const StyleOffsetRotation& OffsetRotate() const {
return rare_non_inherited_data_->transform_->motion_.rotation_;
}
- void SetOffsetRotation(const StyleOffsetRotation& offset_rotation) {
+ void SetOffsetRotate(const StyleOffsetRotation& offset_rotate) {
SET_NESTED_VAR(rare_non_inherited_data_, transform_, motion_.rotation_,
- offset_rotation);
+ offset_rotate);
}
// opacity (aka -webkit-opacity)
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.cpp ('k') | third_party/WebKit/Source/core/style/StyleTransformData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698