Relanding "Reset the root layer on the compositor when recreating a root layer."
commit0df296f41a987c04a2aad2d19e9d5095c3a525c2
authorbruthig <bruthig@chromium.org>
Mon, 9 Mar 2015 17:19:44 +0000 (9 10:19 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 9 Mar 2015 17:20:17 +0000 (9 17:20 +0000)
treeb281e35b4974961a0f88e2d94a63ea3bfa5e5e51
parentf0a8ffb2ca988fe7de628620f750ee241e5f5d35
Relanding "Reset the root layer on the compositor when recreating a root layer."

Initial attempt found here: https://codereview.chromium.org/983933002/

This is going to be used by https://codereview.chromium.org/975943002/

TEST=LayerOwnerTest.RecreateRootLayerWithNullCompositor
TEST=LayerOwnerTestWithCompositor.RecreateRootLayerWithCompositor

BUG=337596

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

Cr-Commit-Position: refs/heads/master@{#319665}
ui/compositor/layer_owner.cc
ui/compositor/layer_owner_unittest.cc