| 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 ff7212a3bdf054348ee7cc6bb8a600ca1b482ea5..afe75b2debf3539f10c3f961de16d043cd31f381 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -994,7 +994,7 @@ bool Element::hasNonEmptyLayoutSize() const
|
| return false;
|
| }
|
|
|
| -IntRect Element::boundsInViewportSpace()
|
| +IntRect Element::boundsInViewport()
|
| {
|
| document().updateLayoutIgnorePendingStylesheets();
|
|
|
| @@ -1020,7 +1020,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()
|
|
|