| 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 f4ba5b2d497042dc20af39f6e78a7750d7dc666d..7e917309b2eabc2c1ebcb23d3718f5d386598ea2 100644
|
| --- a/third_party/WebKit/Source/core/testing/Internals.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| @@ -2061,11 +2061,7 @@ String Internals::mainThreadScrollingReasons(
|
|
|
| document->frame()->view()->updateAllLifecyclePhases();
|
|
|
| - Page* page = document->page();
|
| - if (!page)
|
| - return String();
|
| -
|
| - return page->mainThreadScrollingReasonsAsText();
|
| + return document->frame()->view()->mainThreadScrollingReasonsAsText();
|
| }
|
|
|
| ClientRectList* Internals::nonFastScrollableRects(
|
|
|