cc: Split IsClippedCorrectly unit test into two versions
commit76bf8982ed26069929e8dba929aa3f9b57460355
authorenne <enne@chromium.org>
Tue, 18 Aug 2015 17:55:33 +0000 (18 10:55 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 18 Aug 2015 17:56:14 +0000 (18 17:56 +0000)
tree28c85b000e685ad3cbd1539ff8c5685113579538
parent085b48a17a831123595a7538ac140592217a99d8
cc: Split IsClippedCorrectly unit test into two versions

The main thread doesn't know anything about render surface clipping.
However, the main thread is the only place that sets is_clipped on
layers, so it seemed worthwhile keeping both versions of this test, even
if it's a bit redundant.

It's possible that is_clipped can be answered by property trees instead
of layer properties in the future, in which case this could be collapsed
back into one test.

R=weiliangc@chromium.org,ajuma@chromium.org
BUG=502041
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Review URL: https://codereview.chromium.org/1300723003

Cr-Commit-Position: refs/heads/master@{#343959}
cc/trees/layer_tree_host_common_unittest.cc