| Index: third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| index 6ba4b70bf1d7789ab23e74629e59e1d1209df7a3..a1a395249ffb86affc62651aae984b2faebcf49c 100644
|
| --- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| @@ -251,7 +251,7 @@ void PaintInvalidationState::updateForCurrentObject(
|
|
|
| EPosition position = m_currentObject.styleRef().position();
|
|
|
| - if (position == FixedPosition) {
|
| + if (position == EPosition::kFixed) {
|
| // Use slow path to get the offset of the fixed-position, and enable fast
|
| // path for descendants.
|
| FloatPoint fixedOffset = m_currentObject.localToAncestorPoint(
|
| @@ -275,7 +275,7 @@ void PaintInvalidationState::updateForCurrentObject(
|
| return;
|
| }
|
|
|
| - if (position == AbsolutePosition) {
|
| + if (position == EPosition::kAbsolute) {
|
| m_cachedOffsetsEnabled = m_cachedOffsetsForAbsolutePositionEnabled;
|
| if (!m_cachedOffsetsEnabled)
|
| return;
|
|
|