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

Issue 1584483004: Fix race condition-y Finalize w/ extreme predjudice (Closed)

Created:
4 years, 11 months ago by paulmiller
Modified:
4 years, 11 months ago
Reviewers:
sgurun-gerrit only
CC:
chromium-reviews, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix race condition-y Finalize w/ extreme predjudice There's potential a race condition between Finalize and InitializeWithGUID, if the browser context decides to call Finalize before GetOrCreateGUID has finished. But Finalize will never actually be called anyway, nor is it needed, so remove it along with the unused WebView versions of PostMainMessageLoopRun. Also fix up threading comments and add some more threading DCHECKs. BUG=546754 Committed: https://crrev.com/8ff952aee74105ef12bb18075854bceff6327cbf Cr-Commit-Position: refs/heads/master@{#370431}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -26 lines) Patch
M android_webview/browser/aw_browser_context.h View 2 chunks +1 line, -3 lines 0 comments Download
M android_webview/browser/aw_browser_context.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M android_webview/browser/aw_browser_main_parts.h View 1 chunk +0 lines, -1 line 0 comments Download
M android_webview/browser/aw_browser_main_parts.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M android_webview/browser/aw_metrics_service_client.h View 1 chunk +10 lines, -9 lines 0 comments Download
M android_webview/browser/aw_metrics_service_client.cc View 4 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
paulmiller
On 2016/01/13 20:29:58, paulmiller wrote: > mailto:paulmiller@chromium.org changed reviewers: > + mailto:sgurun@chromium.org PTAL. This is ...
4 years, 11 months ago (2016-01-13 20:30:27 UTC) #3
sgurun-gerrit only
lgtm
4 years, 11 months ago (2016-01-20 00:48:12 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1584483004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1584483004/1
4 years, 11 months ago (2016-01-20 18:06:12 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2016-01-20 18:36:17 UTC) #9
commit-bot: I haz the power
4 years, 11 months ago (2016-01-20 18:37:26 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/8ff952aee74105ef12bb18075854bceff6327cbf
Cr-Commit-Position: refs/heads/master@{#370431}

Powered by Google App Engine
This is Rietveld 408576698