Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Issue 2205693007: WebViewPlugin: Make WebView resize take place synchronously. (Closed)

Created:
4 years, 4 months ago by tommycli
Modified:
4 years, 4 months ago
Reviewers:
esprehn, dcheng
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WebViewPlugin: Make WebView resize take place synchronously. Previously, we committed https://codereview.chromium.org/2164753003 to fix a crash. That patch made geometry-triggered updates asynchronous. However, this leads to visual artifacts. This CL makes some of those operations synchronous again, but should leave the crashy parts still async. BUG=631428 Committed: https://crrev.com/7d02278211e46de5b07ac2cdaf26eecc3bf224bb Cr-Commit-Position: refs/heads/master@{#409709}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -14 lines) Patch
M components/plugins/renderer/webview_plugin.cc View 1 2 chunks +15 lines, -14 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
tommycli
dcheng / esprehn: PTAL. Fixes the visual artifacts. Maintains the crash fix too (probably). Not ...
4 years, 4 months ago (2016-08-03 17:00:17 UTC) #4
dcheng
lgtm https://codereview.chromium.org/2205693007/diff/1/components/plugins/renderer/webview_plugin.cc File components/plugins/renderer/webview_plugin.cc (right): https://codereview.chromium.org/2205693007/diff/1/components/plugins/renderer/webview_plugin.cc#newcode361 components/plugins/renderer/webview_plugin.cc:361: delegate_->OnUnobscuredRectUpdate(gfx::Rect(unobscured_rect)); Nit: perhaps comment that this is what ...
4 years, 4 months ago (2016-08-04 01:48:51 UTC) #7
tommycli
dcheng: thanks!! https://codereview.chromium.org/2205693007/diff/1/components/plugins/renderer/webview_plugin.cc File components/plugins/renderer/webview_plugin.cc (right): https://codereview.chromium.org/2205693007/diff/1/components/plugins/renderer/webview_plugin.cc#newcode361 components/plugins/renderer/webview_plugin.cc:361: delegate_->OnUnobscuredRectUpdate(gfx::Rect(unobscured_rect)); On 2016/08/04 01:48:51, dcheng (OOO Aug ...
4 years, 4 months ago (2016-08-04 02:10:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2205693007/20001
4 years, 4 months ago (2016-08-04 02:10:40 UTC) #11
esprehn
lgtm
4 years, 4 months ago (2016-08-04 02:23:52 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-04 02:43:40 UTC) #13
commit-bot: I haz the power
4 years, 4 months ago (2016-08-04 02:45:13 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7d02278211e46de5b07ac2cdaf26eecc3bf224bb
Cr-Commit-Position: refs/heads/master@{#409709}

Powered by Google App Engine
This is Rietveld 408576698