| Index: third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
|
| index b23bf7cfd2002b6d4170398fc7fb00fdb6675afa..ff09de5b56c79b5a263f812a1455aa12a7647854 100644
|
| --- a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
|
| +++ b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
|
| @@ -94,10 +94,10 @@ void TopDocumentRootScrollerController::updateGlobalRootScroller()
|
|
|
| void TopDocumentRootScrollerController::didUpdateCompositing()
|
| {
|
| - FrameHost* frameHost = m_document->frameHost();
|
| + RootScrollerController::didUpdateCompositing();
|
|
|
| // Let the compositor-side counterpart know about this change.
|
| - if (frameHost)
|
| + if (FrameHost* frameHost = m_document->frameHost())
|
| frameHost->chromeClient().registerViewportLayers();
|
| }
|
|
|
|
|