| Index: third_party/WebKit/Source/core/layout/LayoutObject.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| index c726bbd57bde6cceff589c250d78bf944f2a1b3f..4bb9fbdb1d379947fbe402f565196716af1a9962 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| @@ -1995,8 +1995,6 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
|
| };
|
| virtual bool IsOfType(LayoutObjectType type) const { return false; }
|
|
|
| - inline bool LayerCreationAllowedForSubtree() const;
|
| -
|
| // Overrides should call the superclass at the end. m_style will be 0 the
|
| // first time this function will be called.
|
| virtual void StyleWillChange(StyleDifference, const ComputedStyle& new_style);
|
| @@ -2736,17 +2734,6 @@ inline bool LayoutObject::PreservesNewline() const {
|
| return Style()->PreserveNewline();
|
| }
|
|
|
| -inline bool LayoutObject::LayerCreationAllowedForSubtree() const {
|
| - LayoutObject* parent_layout_object = Parent();
|
| - while (parent_layout_object) {
|
| - if (parent_layout_object->IsSVGHiddenContainer())
|
| - return false;
|
| - parent_layout_object = parent_layout_object->Parent();
|
| - }
|
| -
|
| - return true;
|
| -}
|
| -
|
| inline void LayoutObject::SetSelectionStateIfNeeded(SelectionState state) {
|
| if (GetSelectionState() == state)
|
| return;
|
|
|