| Index: third_party/WebKit/Source/core/frame/LocalFrameTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalFrameTest.cpp b/third_party/WebKit/Source/core/frame/LocalFrameTest.cpp
|
| index af67b260fe9846fb2b3c714eb28e4c16b4694527..2055387a7c6f7edb8b4f3bc62bad546ca1a67872 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrameTest.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrameTest.cpp
|
| @@ -127,11 +127,11 @@ TEST_F(LocalFrameTest, dragImageForSelectionUsesPageScaleFactor) {
|
| setBodyContent(
|
| "<div>Hello world! This tests that the bitmap for drag image is scaled "
|
| "by page scale factor</div>");
|
| - frame().host()->visualViewport().setScale(1);
|
| + frame().page()->visualViewport().setScale(1);
|
| frame().selection().selectAll();
|
| updateAllLifecyclePhases();
|
| const std::unique_ptr<DragImage> image1(frame().dragImageForSelection(0.75f));
|
| - frame().host()->visualViewport().setScale(2);
|
| + frame().page()->visualViewport().setScale(2);
|
| frame().selection().selectAll();
|
| updateAllLifecyclePhases();
|
| const std::unique_ptr<DragImage> image2(frame().dragImageForSelection(0.75f));
|
|
|