| Index: third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp b/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
|
| index 7e022a42b2eabb0f0b29719a3d16f0b2ced210ff..24bdf713dc49dc96cec156c32d75146a0d685a4c 100644
|
| --- a/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
|
| @@ -496,7 +496,9 @@ TEST_F(FrameThrottlingTest, ScrollingCoordinatorShouldSkipThrottledFrame) {
|
| compositeFrame();
|
| EXPECT_FALSE(frameElement->contentDocument()->view()->canThrottleRendering());
|
| // The fixed background in the throttled sub frame should be considered.
|
| - EXPECT_TRUE(document().view()->shouldScrollOnMainThread());
|
| + EXPECT_TRUE(
|
| + frameElement->contentDocument()->view()->shouldScrollOnMainThread());
|
| + EXPECT_FALSE(document().view()->shouldScrollOnMainThread());
|
| }
|
|
|
| TEST_F(FrameThrottlingTest, ScrollingCoordinatorShouldSkipThrottledLayer) {
|
|
|