| Index: third_party/WebKit/Source/core/dom/Element.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
|
| index 3f1fd6a009e002ddc3cb6695e804e16763ff7086..933ae095265de2f12f0e572a266351581ee60336 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -1949,7 +1949,7 @@ StyleRecalcChange Element::recalcOwnStyle(StyleRecalcChange change) {
|
| // TODO(nainar): Remove the style parameter being passed into
|
| // buildLayoutTree(). ComputedStyle will now be stored on Node and accessed
|
| // in buildLayoutTree() using mutableComputedStyle().
|
| - return buildLayoutTree(*newStyle);
|
| + return rebuildLayoutTree(*newStyle);
|
| }
|
|
|
| DCHECK(oldStyle);
|
| @@ -1991,7 +1991,7 @@ StyleRecalcChange Element::recalcOwnStyle(StyleRecalcChange change) {
|
| return localChange;
|
| }
|
|
|
| -StyleRecalcChange Element::buildLayoutTree(ComputedStyle& newStyle) {
|
| +StyleRecalcChange Element::rebuildLayoutTree(ComputedStyle& newStyle) {
|
| AttachContext reattachContext;
|
| reattachContext.resolvedStyle = &newStyle;
|
| bool layoutObjectWillChange = needsAttach() || layoutObject();
|
|
|