views: Remove View::PaintCommon, merge it into View::Paint.
commit6f9ccd4f30c31527f2a8f38878842b414b61c5fe
authordanakj <danakj@chromium.org>
Thu, 26 Mar 2015 16:08:27 +0000 (26 09:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 26 Mar 2015 16:09:45 +0000 (26 16:09 +0000)
treef4197f81f3dee17e9246880ce3514a8aa940509b
parent3df099f5501d0def7f6164eefec1bcb09e71cc18
views: Remove View::PaintCommon, merge it into View::Paint.

This unifies the painting code path between Views that are and are not
backed by layers, they all go through View::Paint now.

View::Paint will only translate the canvas relative to the parent when
layer() is false, keeping the origin at the origin of the view when it
is backed by a layer().

R=sky
BUG=466426

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

Cr-Commit-Position: refs/heads/master@{#322394}
ui/views/view.cc
ui/views/view.h