summaryrefslogtreecommitdiffstats
path: root/content/browser/android/browser_startup_controller.cc
diff options
context:
space:
mode:
authorscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-10 22:32:52 +0000
committerscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-10 22:32:52 +0000
commit3ef5d447d7fae34084ce1dd1f2b1632c612e30cf (patch)
treef194ff2654e684b81fa97884a31d563aacec7e9a /content/browser/android/browser_startup_controller.cc
parent3c1274df30bbf45d3b7f1f9c3c80c6bc3c9a1178 (diff)
downloadchromium_src-3ef5d447d7fae34084ce1dd1f2b1632c612e30cf.zip
chromium_src-3ef5d447d7fae34084ce1dd1f2b1632c612e30cf.tar.gz
chromium_src-3ef5d447d7fae34084ce1dd1f2b1632c612e30cf.tar.bz2
Fix white flashing on resize: fix wndclass brush, clear once to black
Fix setting of hbrBackground in WNDCLASS (which was a comedy of errors). Because we're presenting with D3D (not GDI) it seems to be necessary to clear the area that windows draws to during the NCPAINT, otherwise it we get white artifacting. Black is treated as transparent by DWM code, so by clearing, it correctly draws the window buttons. R=sky@chromium.org BUG=177115,266716 Review URL: https://chromiumcodereview.appspot.com/24088008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222369 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/android/browser_startup_controller.cc')
0 files changed, 0 insertions, 0 deletions