Fix blink_unittests All/FrameThrottlingTest.GraphicsLayerCollection/1 for LayoutNG

There is a difference between LayoutNG and Legacy about the scrollbar
layer when an iframe is translated to out-of-view. The behavior of
LayoutNG looks correct, but the fact is unrelated to the purpose of the
test, so modified the test to make it pass for both LayoutNG and Legacy,
and still test the graphics layer throttling behavior.

Change-Id: I27953ff3a6f3859ef26196f1782ba7e70102b3d5
Reviewed-by: Xianzhu Wang <>
Commit-Queue: Xianzhu Wang <>
Cr-Commit-Position: refs/heads/master@{#661222}
1 file changed