| Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| index 6ec80ab3f12c85853bea5b8d605d67e5a5433a5b..d0fdb9410e180401e2803661a781797d864fd479 100644
|
| --- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| @@ -567,14 +567,11 @@ void ChromeClientImpl::ScheduleAnimation(LocalFrame* frame) {
|
| WebLocalFrameImpl::FromFrame(frame)->FrameWidget()->ScheduleAnimation();
|
| }
|
|
|
| -IntRect ChromeClientImpl::ViewportToScreen(
|
| - const IntRect& rect_in_viewport,
|
| - const FrameViewBase* frame_view_base) const {
|
| +IntRect ChromeClientImpl::ViewportToScreen(const IntRect& rect_in_viewport,
|
| + const FrameView* frame_view) const {
|
| WebRect screen_rect(rect_in_viewport);
|
|
|
| - DCHECK(frame_view_base->IsFrameView());
|
| - const FrameView* view = ToFrameView(frame_view_base);
|
| - LocalFrame& frame = view->GetFrame().LocalFrameRoot();
|
| + LocalFrame& frame = frame_view->GetFrame().LocalFrameRoot();
|
|
|
| WebWidgetClient* client =
|
| WebLocalFrameImpl::FromFrame(&frame)->FrameWidget()->Client();
|
|
|