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

Issue 551843005: [ServiceWorkr] Add NULL check of provider_host_ in ServiceWorkerControlleeRequestHandler's callbacks (Closed)

Created:
6 years, 3 months ago by horo
Modified:
6 years, 3 months ago
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, serviceworker-reviews, tzik, mkwst+moarreviews-content_chromium.org, jam, darin-cc_chromium.org, horo+watch_chromium.org, kinuko+serviceworker
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[ServiceWorkr] Add NULL check of provider_host_ in ServiceWorkerControlleeRequestHandler's callback methods. WeakPtr<ServiceWorkerProviderHost> provider_host_ could be NULL when these methods are called. BUG=408880, 414170

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -5 lines) Patch
M content/browser/service_worker/service_worker_controllee_request_handler.cc View 5 chunks +10 lines, -5 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
horo
414170
6 years, 3 months ago (2014-09-16 01:23:14 UTC) #2
horo
dominicc@ Could you please review this? http://crbug.com/414170 may be fixed by this patch.
6 years, 3 months ago (2014-09-16 01:24:03 UTC) #3
nhiroki
michaeln@ is now committing the similar patch (https://codereview.chromium.org/569423002/)
6 years, 3 months ago (2014-09-16 01:30:50 UTC) #4
dominicc (has gone to gerrit)
In future an early return may make sense here but for now LGTM.
6 years, 3 months ago (2014-09-16 01:32:23 UTC) #5
horo
6 years, 3 months ago (2014-09-16 01:33:13 UTC) #6
On 2014/09/16 01:30:50, nhiroki wrote:
> michaeln@ is now committing the similar patch
> (https://codereview.chromium.org/569423002/)

Ah. Yes.
I didn't notice this.
Thank you.
I will close this.

Powered by Google App Engine
This is Rietveld 408576698