aura: make cc root layer clip descendants
commitfec5b1411ae0a81b3ffc0ea00997fcba673f1c78
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 26 Apr 2013 00:46:59 +0000 (26 00:46 +0000)
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 26 Apr 2013 00:46:59 +0000 (26 00:46 +0000)
tree3de0bc84a618bedbde432d72b498ef87e7e80707
parent0392e0e21b435380972748f32ffdd32a9b58bfff
aura: make cc root layer clip descendants

The cc root layer (just above the ui root layer) is set to the size of the
screen, and setting clipping is a visual noop. However it makes sure render
surfaces are clipped to the size of the screen, when they could be created
bigger because of scale.

BUG=177256

Review URL: https://chromiumcodereview.appspot.com/13982016

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196559 0039d316-1c4b-4281-b951-d872f2087c98
ui/compositor/compositor.cc