| 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 5059ce67b52ab9314dffa774e53a21437fb23d1d..b0ec8b345e70694ba2c3e72c58e6442bd0d5f91e 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -995,7 +995,7 @@ bool Element::hasNonEmptyLayoutSize() const
|
| return false;
|
| }
|
|
|
| -IntRect Element::boundsInViewportSpace()
|
| +IntRect Element::boundsInViewport()
|
| {
|
| document().updateLayoutIgnorePendingStylesheets();
|
|
|
| @@ -1021,7 +1021,7 @@ IntRect Element::boundsInViewportSpace()
|
| for (size_t i = 1; i < quads.size(); ++i)
|
| result.unite(quads[i].enclosingBoundingBox());
|
|
|
| - return view->soonToBeRemovedContentsToUnscaledViewport(result);
|
| + return view->contentsToViewport(result);
|
| }
|
|
|
| ClientRectList* Element::getClientRects()
|
|
|