| Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| index 9c6d497d813e251155e59eb3d2bc51a9b97bbb35..97a5393d40b4d8d8702dc73f87d36e76e24a1bfe 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| @@ -993,4 +993,13 @@ WebPluginContainerBase* LocalFrame::GetWebPluginContainerBase(
|
| return nullptr;
|
| }
|
|
|
| +void LocalFrame::SetViewportIntersectionFromParent(
|
| + const IntRect& viewport_intersection) {
|
| + if (remote_viewport_intersection_ != viewport_intersection) {
|
| + remote_viewport_intersection_ = viewport_intersection;
|
| + if (View())
|
| + View()->ScheduleAnimation();
|
| + }
|
| +}
|
| +
|
| } // namespace blink
|
|
|