Reland "Experiment on not compositing small scrollers"
The previous patch https://chromium-review.googlesource.com/c/585290/ got reverted because it added a unit test which failed Android Nexus 4 bot. For select elements, it looks like that we create paint layers on most platforms but not on Nexus 4. Therefore ASSERT_TRUE(paint_layer) failed on that bot. The only difference between this patch and the previous one is now I use: ASSERT_TRUE(!paint_layer || !paint_layer->HasCompositedLayerMapping()) instead of: ASSERT_TRUE(paint_layer); ASSERT_FALSE(paint_layer->HasCompositedLayerMapping()); Bug: 684631, 746018 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I9d8f68bced170bdb74cacee3aeb3096e99a07b53 Reviewed-on: https://chromium-review.googlesource.com/596207Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Yi Gu <yigu@chromium.org> Cr-Commit-Position: refs/heads/master@{#491023}
Showing
Please register or sign in to comment