Don't call PaintChildren() from inside OnPaint().
commitd2c0e1b3b0c1a34652246603b672298f73261ed4
authordanakj <danakj@chromium.org>
Thu, 26 Mar 2015 22:54:09 +0000 (26 15:54 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 26 Mar 2015 22:54:47 +0000 (26 22:54 +0000)
treedc51bdf057a0d6fce0d2682635f5a52e98837f3f
parent571587c351897e2d4053959b8e4b988d96fed9aa
Don't call PaintChildren() from inside OnPaint().

OnPaint() is not part of the recursion, it won't have access to the
necessary 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=estade@chromium.org
BUG=466426

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

Cr-Commit-Position: refs/heads/master@{#322487}
chrome/browser/ui/views/autofill/autofill_dialog_views.cc
chrome/browser/ui/views/autofill/autofill_dialog_views.h