-
Eric Karl authored
Currently, we only process 1 draw op when checking if a layer is solid color, despite DisplayItemList::ShouldBeAnalyzedForSolidColor having a cutoff of 10. This change updates GetColorIfSolidInRect to take the number of ops to analyze, and causes RecordingSource::DetermineIfSolidColor to use a value of 10 for full-layer checks. R=vmpstr Bug:741219 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel Change-Id: Id4b2a72994835d096ed0f4aad24deb663e90d459 Reviewed-on: https://chromium-review.googlesource.com/567554 Commit-Queue: Eric Karl <ericrk@chromium.org> Reviewed-by:
Vladimir Levin <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#486567}
8efa3b7d