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

Issue 1244113003: Set needsLayout on WebViewPlugin's container when initialized (Closed)

Created:
5 years, 5 months ago by Stephen Chennney
Modified:
5 years, 5 months ago
Reviewers:
chrishtr
CC:
Bernhard Bauer, chromium-reviews, tommycli
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Set needsLayout on WebViewPlugin's container when initialized A race condition is suspected in which the first setNeedsLayout call happens between a layout and a paint for a webview plugin. This change ensures that setNeedsLayout... is called on the plugin's container at initialization, which occurs during the correct document lifecycle position. TBR=bauerb@chromium.org,tommycli@chromium.org BUG=493375 Committed: https://crrev.com/f1bc79582bc8e82060e73119a01e29b5894c16df Cr-Commit-Position: refs/heads/master@{#339763}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comment added. #

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

Messages

Total messages: 14 (5 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1244113003/1
5 years, 5 months ago (2015-07-21 19:39:41 UTC) #2
Stephen Chennney
Should we try committing this speculatively while we work on the blink side testing?
5 years, 5 months ago (2015-07-21 19:42:03 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-21 20:38:41 UTC) #6
chrishtr
https://codereview.chromium.org/1244113003/diff/1/components/plugins/renderer/webview_plugin.cc File components/plugins/renderer/webview_plugin.cc (right): https://codereview.chromium.org/1244113003/diff/1/components/plugins/renderer/webview_plugin.cc#newcode114 components/plugins/renderer/webview_plugin.cc:114: if (container_) { Please add a comment summarizing why ...
5 years, 5 months ago (2015-07-21 20:43:58 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1244113003/20001
5 years, 5 months ago (2015-07-21 20:58:53 UTC) #10
Stephen Chennney
https://codereview.chromium.org/1244113003/diff/1/components/plugins/renderer/webview_plugin.cc File components/plugins/renderer/webview_plugin.cc (right): https://codereview.chromium.org/1244113003/diff/1/components/plugins/renderer/webview_plugin.cc#newcode114 components/plugins/renderer/webview_plugin.cc:114: if (container_) { On 2015/07/21 20:43:58, chrishtr wrote: > ...
5 years, 5 months ago (2015-07-21 21:03:11 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 5 months ago (2015-07-21 22:27:00 UTC) #12
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/f1bc79582bc8e82060e73119a01e29b5894c16df Cr-Commit-Position: refs/heads/master@{#339763}
5 years, 5 months ago (2015-07-21 22:28:03 UTC) #13
chrishtr
5 years, 5 months ago (2015-07-22 14:07:23 UTC) #14
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698