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

Issue 198073003: Remove some content_child dependency from content_common (Closed)

Created:
6 years, 9 months ago by sheu
Modified:
6 years, 9 months ago
Reviewers:
Pawel Osciak, piman
CC:
chromium-reviews, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, wjia+watch_chromium.org
Visibility:
Public.

Description

Remove some content_child dependency from content_common content_common does not have an explicit dependency on content_child in the GYP files, yet depends on symbols from content_child. This causes order-dependent linker errors on some builds (e.g. win8_aura). Fix this by refactoring content::ChildThread to remove the need for that dependency, namely: * Refactor content::ChildThread to allow users to access (and pass around) its content::MessageRouter member for use in IPC messaging, instead of passing around the ChildThread itself. * Remove explicit check for ChildThread in content::VaapiVideoDecodeAccelerator. * Update DEPS files accordingly. BUG=351948 TEST=local build on desktop Linux Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256787

Patch Set 1 : d4f3d343 Initial. #

Total comments: 1

Patch Set 2 : 04d7e045 piman@ comments. #

Patch Set 3 : ffd442cb fix for bots barfing on clang style checks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -71 lines) Patch
M content/child/child_thread.h View 1 2 3 chunks +13 lines, -5 lines 0 comments Download
M content/child/child_thread.cc View 1 2 3 chunks +13 lines, -10 lines 0 comments Download
M content/child/webmessageportchannel_impl.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/common/gpu/DEPS View 1 chunk +0 lines, -3 lines 0 comments Download
M content/common/gpu/gpu_channel_manager.h View 2 chunks +3 lines, -10 lines 0 comments Download
M content/common/gpu/gpu_channel_manager.cc View 4 chunks +7 lines, -9 lines 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.cc View 5 chunks +5 lines, -14 lines 0 comments Download
M content/gpu/gpu_child_thread.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/ppb_broker_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/shared_worker_repository.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/websharedworker_proxy.h View 3 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/websharedworker_proxy.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M content/worker/websharedworker_stub.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
sheu
This should be right up your alley. piman@: PTAL, thanks!
6 years, 9 months ago (2014-03-12 23:18:19 UTC) #1
sheu
Adding posciak@ since it touches VAVDA.
6 years, 9 months ago (2014-03-12 23:19:42 UTC) #2
piman
LGTM+nit. This makes Demeter happy. https://chromiumcodereview.appspot.com/198073003/diff/20001/content/child/child_thread.cc File content/child/child_thread.cc (left): https://chromiumcodereview.appspot.com/198073003/diff/20001/content/child/child_thread.cc#oldcode362 content/child/child_thread.cc:362: } nit: we could ...
6 years, 9 months ago (2014-03-13 00:58:04 UTC) #3
sheu
Done as piman@ suggested.
6 years, 9 months ago (2014-03-13 01:50:37 UTC) #4
Pawel Osciak
VAVDA changes lgtm after testing
6 years, 9 months ago (2014-03-13 02:23:58 UTC) #5
sheu
The CQ bit was checked by sheu@chromium.org
6 years, 9 months ago (2014-03-13 02:24:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/198073003/40001
6 years, 9 months ago (2014-03-13 02:24:47 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-13 03:51:13 UTC) #8
commit-bot: I haz the power
Retried try job too often on android_clang_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_clang_dbg&number=123364
6 years, 9 months ago (2014-03-13 03:51:14 UTC) #9
sheu
The CQ bit was checked by sheu@chromium.org
6 years, 9 months ago (2014-03-13 03:52:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/198073003/40001
6 years, 9 months ago (2014-03-13 03:53:34 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-13 04:21:30 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on mac_chromium_rel
6 years, 9 months ago (2014-03-13 04:21:32 UTC) #13
sheu
The CQ bit was checked by sheu@chromium.org
6 years, 9 months ago (2014-03-13 06:10:40 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/198073003/60001
6 years, 9 months ago (2014-03-13 06:10:43 UTC) #15
commit-bot: I haz the power
6 years, 9 months ago (2014-03-13 10:16:01 UTC) #16
Message was sent while issue was closed.
Change committed as 256787

Powered by Google App Engine
This is Rietveld 408576698