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.

TBR=pdr@chromium.org

Change-Id: I27953ff3a6f3859ef26196f1782ba7e70102b3d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1619009
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#661222}
1 file changed