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

Issue 2404993002: cc: Stop calling DetachFromClient if bind failed. (Closed)

Created:
4 years, 2 months ago by danakj
Modified:
4 years, 2 months ago
CC:
anandc+watch-blimp_chromium.org, bgoldman+watch-blimp_chromium.org, cc-bugs_chromium.org, chromium-reviews, darin-cc_chromium.org, dtrainor+watch-blimp_chromium.org, gcasto+watch-blimp_chromium.org, jam, jessicag+watch-blimp_chromium.org, khushalsagar+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, kylechar, lethalantidote+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, mlamouri+watch-content_chromium.org, nyquist+watch-blimp_chromium.org, perumaal+watch-blimp_chromium.org, piman+watch_chromium.org, rjkroege, scf+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, steimel+watch-blimp_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Stop calling DetachFromClient if bind failed. And remove DetachFromClientInternal in the process. This removes any branching happening in DetachFromClient subclass overrides based on bind happening or not. R=enne@chromium.org, khushalsagar@chromium.org, boliu@chromium.org TBR=sky BUG=606056 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/8fa1509c2848015f60d931090d6da9720a98fec2 Cr-Commit-Position: refs/heads/master@{#424310}

Patch Set 1 #

Patch Set 2 : detachinternal: . #

Total comments: 1

Patch Set 3 : detachinternal: . #

Total comments: 4

Patch Set 4 : detachinternal: rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -99 lines) Patch
M blimp/client/core/compositor/blimp_compositor_frame_sink.h View 1 chunk +0 lines, -2 lines 0 comments Download
M blimp/client/core/compositor/blimp_compositor_frame_sink.cc View 2 chunks +14 lines, -19 lines 0 comments Download
M cc/output/compositor_frame_sink.h View 1 2 4 chunks +14 lines, -17 lines 0 comments Download
M cc/output/compositor_frame_sink.cc View 3 chunks +14 lines, -13 lines 0 comments Download
M cc/output/output_surface.h View 1 chunk +3 lines, -6 lines 0 comments Download
M cc/surfaces/direct_compositor_frame_sink.cc View 1 2 chunks +4 lines, -8 lines 0 comments Download
M cc/surfaces/direct_compositor_frame_sink_unittest.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M cc/test/fake_compositor_frame_sink.h View 2 chunks +4 lines, -5 lines 0 comments Download
M cc/test/fake_compositor_frame_sink.cc View 2 chunks +5 lines, -14 lines 0 comments Download
M content/renderer/android/synchronous_compositor_frame_sink.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/android/synchronous_compositor_frame_sink.cc View 2 chunks +1 line, -3 lines 0 comments Download
M content/renderer/gpu/renderer_compositor_frame_sink.cc View 1 2 chunks +3 lines, -9 lines 0 comments Download
M services/ui/public/cpp/compositor_frame_sink.cc View 2 chunks +4 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 38 (23 generated)
danakj
enne: overall boliu: content khushal: blimp sky: services
4 years, 2 months ago (2016-10-10 22:05:43 UTC) #5
danakj
https://codereview.chromium.org/2404993002/diff/40001/cc/output/compositor_frame_sink.h File cc/output/compositor_frame_sink.h (right): https://codereview.chromium.org/2404993002/diff/40001/cc/output/compositor_frame_sink.h#newcode39 cc/output/compositor_frame_sink.h:39: // An interface for submitting CompositorFrames to a display ...
4 years, 2 months ago (2016-10-10 22:08:56 UTC) #7
danakj
https://codereview.chromium.org/2404993002/diff/20001/content/renderer/gpu/renderer_compositor_frame_sink.cc File content/renderer/gpu/renderer_compositor_frame_sink.cc (left): https://codereview.chromium.org/2404993002/diff/20001/content/renderer/gpu/renderer_compositor_frame_sink.cc#oldcode126 content/renderer/gpu/renderer_compositor_frame_sink.cc:126: if (!HasClient()) This looks "interesting" but AFAICT DetachFromClient->RemoveHandlerOnCompositorThread implies ...
4 years, 2 months ago (2016-10-10 22:13:04 UTC) #9
enne (OOO)
https://codereview.chromium.org/2404993002/diff/40001/blimp/client/core/compositor/blimp_compositor_frame_sink.cc File blimp/client/core/compositor/blimp_compositor_frame_sink.cc (right): https://codereview.chromium.org/2404993002/diff/40001/blimp/client/core/compositor/blimp_compositor_frame_sink.cc#newcode66 blimp/client/core/compositor/blimp_compositor_frame_sink.cc:66: FROM_HERE, base::Bind(&BlimpCompositorFrameSinkProxy::UnbindProxyClient, Is this a change in behavior, where ...
4 years, 2 months ago (2016-10-10 22:27:11 UTC) #10
danakj
https://codereview.chromium.org/2404993002/diff/40001/blimp/client/core/compositor/blimp_compositor_frame_sink.cc File blimp/client/core/compositor/blimp_compositor_frame_sink.cc (right): https://codereview.chromium.org/2404993002/diff/40001/blimp/client/core/compositor/blimp_compositor_frame_sink.cc#newcode66 blimp/client/core/compositor/blimp_compositor_frame_sink.cc:66: FROM_HERE, base::Bind(&BlimpCompositorFrameSinkProxy::UnbindProxyClient, On 2016/10/10 22:27:10, enne wrote: > Is ...
4 years, 2 months ago (2016-10-10 22:35:25 UTC) #11
enne (OOO)
Ok ok, lgtm!
4 years, 2 months ago (2016-10-10 22:38:39 UTC) #12
boliu
lgtm, although I don't own content/renderer in general
4 years, 2 months ago (2016-10-10 22:40:41 UTC) #13
danakj
On 2016/10/10 22:40:41, boliu wrote: > lgtm, although I don't own content/renderer in general ya ...
4 years, 2 months ago (2016-10-10 22:44:22 UTC) #14
Khushal
lgtm. https://codereview.chromium.org/2404993002/diff/40001/blimp/client/core/compositor/blimp_compositor_frame_sink.cc File blimp/client/core/compositor/blimp_compositor_frame_sink.cc (right): https://codereview.chromium.org/2404993002/diff/40001/blimp/client/core/compositor/blimp_compositor_frame_sink.cc#newcode66 blimp/client/core/compositor/blimp_compositor_frame_sink.cc:66: FROM_HERE, base::Bind(&BlimpCompositorFrameSinkProxy::UnbindProxyClient, On 2016/10/10 22:35:25, danakj wrote: > ...
4 years, 2 months ago (2016-10-10 22:55:56 UTC) #17
commit-bot: I haz the power
This CL has an open dependency (Issue 2402173002 Patch 180001). Please resolve the dependency and ...
4 years, 2 months ago (2016-10-10 23:09:26 UTC) #21
danakj
TBR=sky for services/ but please LMK if u have any feedback on the comment changes ...
4 years, 2 months ago (2016-10-11 00:26:47 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2404993002/80001
4 years, 2 months ago (2016-10-11 00:41:23 UTC) #31
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 2 months ago (2016-10-11 00:48:30 UTC) #33
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/8fa1509c2848015f60d931090d6da9720a98fec2 Cr-Commit-Position: refs/heads/master@{#424310}
4 years, 2 months ago (2016-10-11 00:51:52 UTC) #35
sky
4 years, 2 months ago (2016-10-11 02:08:14 UTC) #38
Message was sent while issue was closed.
sky->fsamuel

Powered by Google App Engine
This is Rietveld 408576698