| Index: third_party/WebKit/Source/core/testing/Internals.cpp
|
| diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| index fa5e387b18fac0cec4a0502c3c90637730fc4295..aaf32e4cd5df838ee002af3917955d188b0f65e2 100644
|
| --- a/third_party/WebKit/Source/core/testing/Internals.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| @@ -2618,4 +2618,12 @@ String Internals::getProgrammaticScrollAnimationState(Node* node) const
|
| return String();
|
| }
|
|
|
| +ClientRect* Internals::visualRect(Node* node)
|
| +{
|
| + if (!node || !node->layoutObject())
|
| + return ClientRect::create();
|
| +
|
| + return ClientRect::create(FloatRect(node->layoutObject()->visualRect()));
|
| +}
|
| +
|
| } // namespace blink
|
|
|