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

Issue 130573002: Attempt to fix issue 332427 by deleting LoggingImpl in CastEnvironment on the main thread instead o… (Closed)

Created:
6 years, 11 months ago by imcheng
Modified:
6 years, 11 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, mikhal+watch_chromium.org, hguihot+watch_chromium.org, jasonroberts+watch_google.com, pwestin+watch_google.com, feature-media-reviews_chromium.org, hubbe+watch_chromium.org, miu+watch_chromium.org, miu
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Attempt to fix issue 332427 by deleting LoggingImpl in CastEnvironment on the main thread instead of the last thread holding on reference to it by doing PostTask with the main thread task runner. Also re-enable CastStreamingApiTest.Basics as this patch should fix the problem. BUG=332427 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244075

Patch Set 1 : Added comment #

Patch Set 2 : Reenable failing test #

Patch Set 3 : Reordered member variable ordering to ensure proper destruction in unit tests #

Patch Set 4 : Added shortcut to destruct logging_ if already on main thread. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -9 lines) Patch
M chrome/browser/extensions/cast_streaming_apitest.cc View 1 1 chunk +1 line, -8 lines 0 comments Download
M media/cast/cast_environment.cc View 1 2 3 2 chunks +20 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
imcheng
I attempted to use RefCountedDeleteOnMessageLoop prior to this approach, though it seems they are discouraging ...
6 years, 11 months ago (2014-01-09 02:34:25 UTC) #1
Alpha Left Google
Okay. LGTM.
6 years, 11 months ago (2014-01-09 02:38:57 UTC) #2
imcheng
Forgot to re-enable the test - did that just now and running through trybots.
6 years, 11 months ago (2014-01-09 02:50:31 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/imcheng@chromium.org/130573002/180001
6 years, 11 months ago (2014-01-09 09:23:12 UTC) #4
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=44025
6 years, 11 months ago (2014-01-09 09:41:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/imcheng@chromium.org/130573002/310001
6 years, 11 months ago (2014-01-09 22:01:51 UTC) #6
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=44174
6 years, 11 months ago (2014-01-09 22:27:52 UTC) #7
imcheng
+kalman for chrome/browser/extensions/cast_streaming_apitest.cc.
6 years, 11 months ago (2014-01-09 22:40:56 UTC) #8
not at google - send to devlin
lgtm
6 years, 11 months ago (2014-01-09 23:06:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/imcheng@chromium.org/130573002/310001
6 years, 11 months ago (2014-01-09 23:38:24 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=111391
6 years, 11 months ago (2014-01-10 01:23:14 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/imcheng@chromium.org/130573002/310001
6 years, 11 months ago (2014-01-10 01:43:43 UTC) #12
commit-bot: I haz the power
6 years, 11 months ago (2014-01-10 03:48:55 UTC) #13
Message was sent while issue was closed.
Change committed as 244075

Powered by Google App Engine
This is Rietveld 408576698