omnibox: Don't paint children from inside OnPaint().
OnPaint() is not part of the recursion, it won't have access to the neccessary pieces to do recursion. If you need to do painting while inside the recursion, this should happen in PaintChildren(). So move the contents of OnPaint() to PaintChildren(). R=pkasting BUG=466426 Review URL: https://codereview.chromium.org/1016033011 Cr-Commit-Position: refs/heads/master@{#322520}
Showing
Please register or sign in to comment