| Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| index 33ee08dfcad4107811b9849b87b02be30f2d8cd6..22f8a497c33ed509926f01c20c1df804fabd3b57 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| @@ -1268,23 +1268,6 @@ bool ComputedStyle::hasEntirelyFixedBackground() const
|
| return allLayersAreFixed(backgroundLayers());
|
| }
|
|
|
| -bool ComputedStyle::hasEntirelyLocalBackground() const
|
| -{
|
| - const FillLayer* layer = &backgroundLayers();
|
| - for (; layer; layer = layer->next()) {
|
| - if (layer->attachment() == LocalBackgroundAttachment)
|
| - continue;
|
| - // Solid color layers with a background clip of the padding box can be treated
|
| - // as local.
|
| - // TODO(flackr): We can handle other fill boxes with solid colors as long as they
|
| - // are essentially the same (i.e. PaddingFillBox == ContentFillBox when padding = 0).
|
| - if (!layer->image() && !layer->next() && layer->clip() == PaddingFillBox)
|
| - continue;
|
| - return false;
|
| - }
|
| - return true;
|
| -}
|
| -
|
| const CounterDirectiveMap* ComputedStyle::counterDirectives() const
|
| {
|
| return m_rareNonInheritedData->m_counterDirectives.get();
|
|
|