Chromium Code Reviews| 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 fee328e23171e67405ef60f6aeeb23f708d4012b..0b0e5f88d8afd97940b088a8cb8e4798fc97db97 100644 |
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.h |
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.h |
| @@ -1228,12 +1228,6 @@ public: |
| void setVerticalAlignLength(const Length& length) { setVerticalAlign(VerticalAlignLength); SET_VAR(m_box, m_verticalAlign, length); } |
| // Exclusions properties. |
| - // wrap-flow |
| - static WrapFlow initialWrapFlow() { return WrapFlowAuto; } |
| - |
| - // wrap-through |
| - static WrapThrough initialWrapThrough() { return WrapThroughWrap; } |
|
rjwright
2016/08/10 06:44:13
Remove wrapflow & wrapthrough enums?
sashab
2016/08/11 07:33:16
Done.
|
| - |
| // will-change |
|
rjwright
2016/08/10 06:44:13
are these comments still needed?
sashab
2016/08/11 07:33:16
Yup, these are describing the property the methods
|
| const Vector<CSSPropertyID>& willChangeProperties() const { return m_rareNonInheritedData->m_willChange->m_properties; } |
| bool willChangeContents() const { return m_rareNonInheritedData->m_willChange->m_contents; } |
| @@ -2367,14 +2361,6 @@ public: |
| bool isStyleAvailable() const; |
| bool isSharable() const; |
| - // TODO(sashab) Remove these. |
| - static ImageOrientationEnum initialImageOrientation() { return OriginTopLeft; } |
| - static ImageResolutionSource initialImageResolutionSource() { return ImageResolutionSpecified; } |
| - static ImageResolutionSnap initialImageResolutionSnap() { return ImageResolutionNoSnap; } |
|
rjwright
2016/08/10 06:44:13
Can we also remove ImageResolutionSource and Image
sashab
2016/08/11 07:33:16
Done!
|
| - static float initialImageResolution() { return 1; } |
| - void setWrapFlow(WrapFlow wrapFlow) { SET_VAR(m_rareNonInheritedData, m_wrapFlow, wrapFlow); } |
| - void setWrapThrough(WrapThrough wrapThrough) { SET_VAR(m_rareNonInheritedData, m_wrapThrough, wrapThrough); } |
| - |
| private: |
| void setVisitedLinkColor(const Color&); |
| void setVisitedLinkBackgroundColor(const StyleColor& v) { SET_VAR(m_rareNonInheritedData, m_visitedLinkBackgroundColor, v); } |