diff options
author | hush <hush@chromium.org> | 2014-09-24 17:20:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-25 00:20:14 +0000 |
commit | 673cf0160d7b5e520841a65f4425f8be1a48fbb1 (patch) | |
tree | ecfdcfd2d93cff24dbaa33fb93620e75183f2da8 /build | |
parent | a4ef3a9c60553b3bcc8708587ea7832fc7cac29e (diff) | |
download | chromium_src-673cf0160d7b5e520841a65f4425f8be1a48fbb1.zip chromium_src-673cf0160d7b5e520841a65f4425f8be1a48fbb1.tar.gz chromium_src-673cf0160d7b5e520841a65f4425f8be1a48fbb1.tar.bz2 |
Android WebView: fix missing an invalidate
When webview translates into the screen from offscreen by calling
WebView#SetTranslateX/Y, onDrawHardware is called with an empty global
visible rect.
When the webview is still offscreen, Android frameworks won't call
DrawGL on WebView, which means the "parent draw constraints" stored in
hardware renderer won't contain the draw constraints when the webview is
offscreen.
When webview gets an ondraw with an empty global visible rect, we need
to make sure the parent draw constraints of the corresponding DrawGL is
always posted back to child compositor and triggers an invalidate.
BUG=417479
Review URL: https://codereview.chromium.org/603633003
Cr-Commit-Position: refs/heads/master@{#296589}
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions