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

Issue 1864543004: Make sure BitmapUploader Returns Resources (Closed)

Created:
4 years, 8 months ago by Fady Samuel
Modified:
4 years, 8 months ago
Reviewers:
rjkroege, sky
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make sure BitmapUploader Returns Resources bitmap_uploader was inheriting from mus::mojom::SurfaceClient directly instead of from WindowSurfaceClient. Unfortunately, ReturnResources callbacks were going to the mus client lib and not to BitmapUploader and so BitmapUploader never returned any resources. This CL makes BitmapUploader a mus::WindowSurfaceClient and sets itself as the client for the provided WindowSurface. BUG=600807 Committed: https://crrev.com/7e1c9478cb013c8c9a485bbc5e3342d6f0a09aac Cr-Commit-Position: refs/heads/master@{#385655}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Made destructor virtual #

Total comments: 2

Patch Set 3 : Addressed Scott's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -8 lines) Patch
M components/bitmap_uploader/bitmap_uploader.h View 1 2 4 chunks +5 lines, -4 lines 0 comments Download
M components/bitmap_uploader/bitmap_uploader.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M components/mus/public/cpp/window_surface_client.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (7 generated)
Fady Samuel
4 years, 8 months ago (2016-04-06 18:47:49 UTC) #2
rjkroege
https://codereview.chromium.org/1864543004/diff/1/components/bitmap_uploader/bitmap_uploader.h File components/bitmap_uploader/bitmap_uploader.h (right): https://codereview.chromium.org/1864543004/diff/1/components/bitmap_uploader/bitmap_uploader.h#newcode36 components/bitmap_uploader/bitmap_uploader.h:36: ~BitmapUploader(); don't you need to still override?
4 years, 8 months ago (2016-04-06 18:50:02 UTC) #3
Fady Samuel
PTAL Rob! https://codereview.chromium.org/1864543004/diff/1/components/bitmap_uploader/bitmap_uploader.h File components/bitmap_uploader/bitmap_uploader.h (right): https://codereview.chromium.org/1864543004/diff/1/components/bitmap_uploader/bitmap_uploader.h#newcode36 components/bitmap_uploader/bitmap_uploader.h:36: ~BitmapUploader(); On 2016/04/06 18:50:02, rjkroege wrote: > ...
4 years, 8 months ago (2016-04-06 18:52:18 UTC) #4
rjkroege
lgtm
4 years, 8 months ago (2016-04-06 19:09:01 UTC) #7
Fady Samuel
+sky@ for components/mus. PTAL!
4 years, 8 months ago (2016-04-06 19:11:37 UTC) #9
Fady Samuel
+sky@ for components/mus. PTAL!
4 years, 8 months ago (2016-04-06 19:11:37 UTC) #10
sky
LGTM https://codereview.chromium.org/1864543004/diff/20001/components/bitmap_uploader/bitmap_uploader.h File components/bitmap_uploader/bitmap_uploader.h (right): https://codereview.chromium.org/1864543004/diff/20001/components/bitmap_uploader/bitmap_uploader.h#newcode33 components/bitmap_uploader/bitmap_uploader.h:33: : NON_EXPORTED_BASE(mus::WindowSurfaceClient) { public?
4 years, 8 months ago (2016-04-07 03:15:57 UTC) #11
Fady Samuel
CQ'ing. https://codereview.chromium.org/1864543004/diff/20001/components/bitmap_uploader/bitmap_uploader.h File components/bitmap_uploader/bitmap_uploader.h (right): https://codereview.chromium.org/1864543004/diff/20001/components/bitmap_uploader/bitmap_uploader.h#newcode33 components/bitmap_uploader/bitmap_uploader.h:33: : NON_EXPORTED_BASE(mus::WindowSurfaceClient) { On 2016/04/07 03:15:57, sky wrote: ...
4 years, 8 months ago (2016-04-07 03:28:51 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864543004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864543004/40001
4 years, 8 months ago (2016-04-07 03:29:13 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-07 04:16:56 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-07 04:18:32 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7e1c9478cb013c8c9a485bbc5e3342d6f0a09aac
Cr-Commit-Position: refs/heads/master@{#385655}

Powered by Google App Engine
This is Rietveld 408576698