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

Issue 2113443003: Reland: Remove unsafe cast from ImageTransportSurfaceOverlayMac::ScheduleCALayer. (Closed)

Created:
4 years, 5 months ago by piman
Modified:
4 years, 5 months ago
Reviewers:
erikchen, ccameron
CC:
chromium-reviews, piman+watch_chromium.org, erikchen, pdr.
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland: Remove unsafe cast from ImageTransportSurfaceOverlayMac::ScheduleCALayer. Create an enum class Type in GLImage, which allows for safe downcasting. BUG=619698, 624256 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/ab056ef99dba995671df54dc97d738161cdc2188 Cr-Commit-Position: refs/heads/master@{#403091}

Patch Set 1 #

Patch Set 2 : Fix solid color, add DLOG on cast failure #

Total comments: 2

Patch Set 3 : Add error message in ImageTransportSurfaceOverlayMac::ScheduleCALayer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -5 lines) Patch
M gpu/ipc/service/image_transport_surface_overlay_mac.mm View 1 2 3 chunks +15 lines, -5 lines 0 comments Download
M ui/gl/gl_image.h View 1 chunk +7 lines, -0 lines 0 comments Download
M ui/gl/gl_image.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gl/gl_image_io_surface.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gl/gl_image_io_surface.mm View 2 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
piman
ccameron: PTAL. PS1 is the original patch that was reverted, PS2 has the fix.
4 years, 5 months ago (2016-06-30 03:31:39 UTC) #3
ccameron
lgtm with the error https://codereview.chromium.org/2113443003/diff/20001/gpu/ipc/service/image_transport_surface_overlay_mac.mm File gpu/ipc/service/image_transport_surface_overlay_mac.mm (right): https://codereview.chromium.org/2113443003/diff/20001/gpu/ipc/service/image_transport_surface_overlay_mac.mm#newcode349 gpu/ipc/service/image_transport_surface_overlay_mac.mm:349: if (io_surface_image) { We should ...
4 years, 5 months ago (2016-06-30 03:57:55 UTC) #4
piman
https://codereview.chromium.org/2113443003/diff/20001/gpu/ipc/service/image_transport_surface_overlay_mac.mm File gpu/ipc/service/image_transport_surface_overlay_mac.mm (right): https://codereview.chromium.org/2113443003/diff/20001/gpu/ipc/service/image_transport_surface_overlay_mac.mm#newcode349 gpu/ipc/service/image_transport_surface_overlay_mac.mm:349: if (io_surface_image) { On 2016/06/30 03:57:55, ccameron wrote: > ...
4 years, 5 months ago (2016-06-30 04:03:18 UTC) #5
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/2113443003/40001
4 years, 5 months ago (2016-06-30 04:03:44 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-06-30 05:16:13 UTC) #10
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-30 05:16:14 UTC) #11
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/ab056ef99dba995671df54dc97d738161cdc2188 Cr-Commit-Position: refs/heads/master@{#403091}
4 years, 5 months ago (2016-06-30 05:17:55 UTC) #13
erikchen
4 years, 5 months ago (2016-07-04 15:38:57 UTC) #15
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698