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

Issue 2003103002: cc: Fix overwriting of commit completion event in MFBA mode. (Closed)

Created:
4 years, 7 months ago by sunnyps
Modified:
4 years, 7 months ago
Reviewers:
enne (OOO)
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@2743
Target Ref:
refs/pending/branch-heads/2743
Project:
chromium
Visibility:
Public.

Description

cc: Fix overwriting of commit completion event in MFBA mode. In main frame before activation (MFBA) mode the following sequence was problematic: 1. Commit 2. BeginMainFrame 3. StartCommitOnImpl with hold_commit_for_activation=1 (second commit) 4. NotifyReadyToActivate (first commit) 5. Activate (first commit) 6. Commit (second commit) StartCommitOnImpl will overwrite the completion event and associated flag that's used in the previous frame's activation. The activation would then signal the second commit's completion event and that commit would later crash due to accessing a null completion event. Added a test specifically for this case and also made the existing test for hold_commit_for_activation more robust. R=enne@chromium.org BUG=613007 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review-Url: https://codereview.chromium.org/2000493002 Cr-Commit-Position: refs/heads/master@{#395185} (cherry picked from commit 2237c9b93be8a4f6c106149f714b4b88856c4549) Committed: https://chromium.googlesource.com/chromium/src/+/d7054b5f71c1d15886240ffebc503c45f209396b

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -66 lines) Patch
M cc/test/proxy_impl_for_test.h View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/test/proxy_impl_for_test.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_proxy.cc View 1 chunk +104 lines, -32 lines 0 comments Download
M cc/trees/proxy_impl.h View 2 chunks +10 lines, -6 lines 0 comments Download
M cc/trees/proxy_impl.cc View 6 chunks +25 lines, -18 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
sunnyps
4 years, 7 months ago (2016-05-23 19:11:35 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
d7054b5f71c1d15886240ffebc503c45f209396b (tree was closed).

Powered by Google App Engine
This is Rietveld 408576698