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

Issue 189413014: Send WorkerHostMsg_WorkerConnected in EmbeddedSharedWorkerStub::OnConnect. (Closed)

Created:
6 years, 9 months ago by horo
Modified:
6 years, 9 months ago
Reviewers:
kinuko
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Send WorkerHostMsg_WorkerConnected in EmbeddedSharedWorkerStub::OnConnect. WorkerHostMsg_WorkerConnected must be sent in EmbeddedSharedWorkerStub::OnConnect if the SharedWorker is already running. In current code the memory leak of SharedWorkerConnector could occur because SharedWorkerConnector::connected() is not called. BUG=327256 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256432

Patch Set 1 #

Total comments: 2

Patch Set 2 : incorporated kinuko's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -4 lines) Patch
M content/renderer/shared_worker/embedded_shared_worker_stub.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/shared_worker/embedded_shared_worker_stub.cc View 1 3 chunks +9 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
horo
kinuko@ Please review this cl. Thank you.
6 years, 9 months ago (2014-03-10 12:14:42 UTC) #1
kinuko
lgtm https://codereview.chromium.org/189413014/diff/1/content/renderer/shared_worker/embedded_shared_worker_stub.cc File content/renderer/shared_worker/embedded_shared_worker_stub.cc (right): https://codereview.chromium.org/189413014/diff/1/content/renderer/shared_worker/embedded_shared_worker_stub.cc#newcode146 content/renderer/shared_worker/embedded_shared_worker_stub.cc:146: route_id_)); Should we add ConnectToChannel() method which always ...
6 years, 9 months ago (2014-03-10 13:26:02 UTC) #2
horo
The CQ bit was checked by horo@chromium.org
6 years, 9 months ago (2014-03-11 01:01:00 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/horo@chromium.org/189413014/20001
6 years, 9 months ago (2014-03-11 01:04:35 UTC) #4
horo
https://codereview.chromium.org/189413014/diff/1/content/renderer/shared_worker/embedded_shared_worker_stub.cc File content/renderer/shared_worker/embedded_shared_worker_stub.cc (right): https://codereview.chromium.org/189413014/diff/1/content/renderer/shared_worker/embedded_shared_worker_stub.cc#newcode146 content/renderer/shared_worker/embedded_shared_worker_stub.cc:146: route_id_)); On 2014/03/10 13:26:02, kinuko wrote: > Should we ...
6 years, 9 months ago (2014-03-11 01:14:12 UTC) #5
horo
https://codereview.chromium.org/189413014/diff/1/content/renderer/shared_worker/embedded_shared_worker_stub.cc File content/renderer/shared_worker/embedded_shared_worker_stub.cc (right): https://codereview.chromium.org/189413014/diff/1/content/renderer/shared_worker/embedded_shared_worker_stub.cc#newcode146 content/renderer/shared_worker/embedded_shared_worker_stub.cc:146: route_id_)); On 2014/03/10 13:26:02, kinuko wrote: > Should we ...
6 years, 9 months ago (2014-03-11 01:14:12 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-11 01:48:49 UTC) #7
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=54554
6 years, 9 months ago (2014-03-11 01:48:49 UTC) #8
kinuko
(still lgtm) you'll need owner review as we don't seem to have OWNERS file in ...
6 years, 9 months ago (2014-03-11 02:33:29 UTC) #9
horo
On 2014/03/11 02:33:29, kinuko wrote: > (still lgtm) > > you'll need owner review as ...
6 years, 9 months ago (2014-03-11 03:34:59 UTC) #10
horo
The CQ bit was checked by horo@chromium.org
6 years, 9 months ago (2014-03-11 23:42:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/horo@chromium.org/189413014/20001
6 years, 9 months ago (2014-03-11 23:48:05 UTC) #12
commit-bot: I haz the power
6 years, 9 months ago (2014-03-12 05:06:21 UTC) #13
Message was sent while issue was closed.
Change committed as 256432

Powered by Google App Engine
This is Rietveld 408576698