Chromium Code Reviews| Index: third_party/WebKit/Source/core/animation/LengthListPropertyFunctions.cpp |
| diff --git a/third_party/WebKit/Source/core/animation/LengthListPropertyFunctions.cpp b/third_party/WebKit/Source/core/animation/LengthListPropertyFunctions.cpp |
| index 6f65bbf4d6ce4070f5724dd33c4de558128707b2..372ebfc4a9461cf95c169388d5890253632cf753 100644 |
| --- a/third_party/WebKit/Source/core/animation/LengthListPropertyFunctions.cpp |
| +++ b/third_party/WebKit/Source/core/animation/LengthListPropertyFunctions.cpp |
| @@ -10,8 +10,8 @@ namespace blink { |
| namespace { |
| -const FillLayer* getFillLayer(CSSPropertyID property, |
| - const ComputedStyle& style) { |
| +const FillLayer* getFillLayerForPos(CSSPropertyID property, |
|
alancutter (OOO until 2018)
2017/04/04 00:15:20
s/Pos/Position/
|
| + const ComputedStyle& style) { |
| switch (property) { |
| case CSSPropertyBackgroundPositionX: |
| case CSSPropertyBackgroundPositionY: |
| @@ -25,7 +25,7 @@ const FillLayer* getFillLayer(CSSPropertyID property, |
| } |
| } |
| -FillLayer* accessFillLayer(CSSPropertyID property, ComputedStyle& style) { |
| +FillLayer* accessFillLayerForPos(CSSPropertyID property, ComputedStyle& style) { |
|
alancutter (OOO until 2018)
2017/04/04 00:15:20
s/Pos/Position/
|
| switch (property) { |
| case CSSPropertyBackgroundPositionX: |
| case CSSPropertyBackgroundPositionY: |
| @@ -159,7 +159,7 @@ bool LengthListPropertyFunctions::getLengthList(CSSPropertyID property, |
| case CSSPropertyBackgroundPositionY: |
| case CSSPropertyWebkitMaskPositionX: |
| case CSSPropertyWebkitMaskPositionY: { |
| - const FillLayer* fillLayer = getFillLayer(property, style); |
| + const FillLayer* fillLayer = getFillLayerForPos(property, style); |
| FillLayerMethods fillLayerMethods(property); |
| while (fillLayer && (fillLayer->*fillLayerMethods.isSet)()) { |
| result.push_back((fillLayer->*fillLayerMethods.getLength)()); |
| @@ -241,7 +241,7 @@ void LengthListPropertyFunctions::setLengthList(CSSPropertyID property, |
| case CSSPropertyBackgroundPositionY: |
| case CSSPropertyWebkitMaskPositionX: |
| case CSSPropertyWebkitMaskPositionY: { |
| - FillLayer* fillLayer = accessFillLayer(property, style); |
| + FillLayer* fillLayer = accessFillLayerForPos(property, style); |
| FillLayer* prev = nullptr; |
| FillLayerMethods fillLayerMethods(property); |
| for (size_t i = 0; i < lengthList.size(); i++) { |