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

Issue 1779353003: service worker: Fix valgrind errors on unit_tests (Closed)

Created:
4 years, 9 months ago by falken
Modified:
4 years, 9 months ago
Reviewers:
michaeln, mmenke
CC:
chromium-reviews, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, kinuko+serviceworker, nhiroki, darin-cc_chromium.org, horo+watch_chromium.org, kinuko+watch, glider+watch_chromium.org, blink-worker-reviews_chromium.org, bruening+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

service worker: Fix valgrind errors on unit_tests Followup to https://codereview.chromium.org/1771283002/ We must clear request_context_getter_ on the IO thread or the valgrind bots cry. Also, call RemoveObserver in ShutdownOnIO in case OnContextIsShuttingDown is never called, as is the case on content_shell. BUG=587621, 593913 Committed: https://crrev.com/275701504450e46612ac5bc67c32a71838b6fdad Cr-Commit-Position: refs/heads/master@{#380924}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -9 lines) Patch
M content/browser/service_worker/service_worker_context_wrapper.cc View 3 chunks +6 lines, -1 line 0 comments Download
M tools/valgrind/memcheck/suppressions.txt View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
falken
This patch has dual yet related purposes: 1) Fix valgrind bots 2) Call RemoveObserver to ...
4 years, 9 months ago (2016-03-11 04:29:49 UTC) #2
mmenke
On 2016/03/11 04:29:49, falken wrote: > This patch has dual yet related purposes: > 1) ...
4 years, 9 months ago (2016-03-11 16:30:40 UTC) #3
michaeln
lgtm > The IOThread generally outlives the ServiceWorkerContextWrapper, no i don't believe there is a ...
4 years, 9 months ago (2016-03-11 23:33:13 UTC) #4
mmenke
On 2016/03/11 23:33:13, michaeln wrote: > lgtm > > > The IOThread generally outlives the ...
4 years, 9 months ago (2016-03-11 23:52:26 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779353003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779353003/1
4 years, 9 months ago (2016-03-14 03:08:32 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-14 04:45:55 UTC) #8
commit-bot: I haz the power
4 years, 9 months ago (2016-03-14 04:47:28 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/275701504450e46612ac5bc67c32a71838b6fdad
Cr-Commit-Position: refs/heads/master@{#380924}

Powered by Google App Engine
This is Rietveld 408576698