Ensure damage calculation is correct if there's an intervening empty frame.
commit1b6b4aab007490a9480a60d9db07d9730812d3aa
authorjbauman <jbauman@chromium.org>
Wed, 4 Feb 2015 02:35:25 +0000 (3 18:35 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 4 Feb 2015 02:36:23 +0000 (4 02:36 +0000)
treec63c51bf64524b21181cd03ec1aaba86e17ecdad
parenta89fbffdec8823e3ff955b92e411f4ac335c2232
Ensure damage calculation is correct if there's an intervening empty frame.

The empty frame shouldn't be drawn, so the damage to/from it can be ignored.

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

Cr-Commit-Position: refs/heads/master@{#314481}
cc/surfaces/surface.cc
cc/surfaces/surface_factory_unittest.cc