views: Move TopContainerView paint recursion to PaintChildren.
commitbdc4b62d9366cd45d082192793c000386d9bb3f1
authordanakj <danakj@chromium.org>
Fri, 27 Mar 2015 22:42:53 +0000 (27 15:42 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 27 Mar 2015 22:43:53 +0000 (27 22:43 +0000)
tree3a7864cbdfba77578557b75b06083056072815f4
parent870780454b5e8fe4687313504b6c4d324a627df7
views: Move TopContainerView paint recursion to PaintChildren.

Currently this class recurses to browser_view_->frame()->GetFrameView()
in OnPaintBackground. Instead, do this recursion in PaintChildren
so that it has access to the the recursion data to be passed through
PaintChildren.

R=sky
BUG=466426

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

Cr-Commit-Position: refs/heads/master@{#322663}
chrome/browser/ui/views/frame/top_container_view.cc
chrome/browser/ui/views/frame/top_container_view.h