| 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 fc38c794e94278e4516a9883ffa4d8068317b190..5bf88cc45679a8a397bbcd169662a8348e850466 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -1778,10 +1778,10 @@ StyleRecalcChange Element::recalcOwnStyle(StyleRecalcChange change)
|
| }
|
|
|
| if (localChange == Reattach) {
|
| - // TODO(nainar): Remove the style parameter being passed into buildOwnLayout().
|
| - // ComputedStyle will now be stored on Node and accessed in buildOwnLayout()
|
| + // TODO(nainar): Remove the style parameter being passed into buildLayoutTree().
|
| + // ComputedStyle will now be stored on Node and accessed in buildLayoutTree()
|
| // using mutableComputedStyle().
|
| - return buildOwnLayout(*newStyle);
|
| + return buildLayoutTree(*newStyle);
|
| }
|
|
|
| DCHECK(oldStyle);
|
| @@ -1820,7 +1820,7 @@ StyleRecalcChange Element::recalcOwnStyle(StyleRecalcChange change)
|
| return localChange;
|
| }
|
|
|
| -StyleRecalcChange Element::buildOwnLayout(ComputedStyle& newStyle)
|
| +StyleRecalcChange Element::buildLayoutTree(ComputedStyle& newStyle)
|
| {
|
| AttachContext reattachContext;
|
| reattachContext.resolvedStyle = &newStyle;
|
|
|