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 500243002: Remove implicit conversions from scoped_refptr to T* in gpu/ (Closed)

Created:
6 years, 4 months ago by dcheng
Modified:
6 years, 3 months ago
Reviewers:
no sievers
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Committed: https://crrev.com/3d7ce9f4a3fd04b148bd9afc128965b020525410 Cr-Commit-Position: refs/heads/master@{#291805}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Revert silliness #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -70 lines) Patch
M gpu/command_buffer/client/gl_in_process_context.cc View 3 chunks +9 lines, -9 lines 0 comments Download
M gpu/command_buffer/client/mapped_memory.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/client/transfer_buffer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/async_pixel_transfer_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/command_buffer_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/common_decoder.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 4 chunks +15 lines, -9 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc View 7 chunks +9 lines, -9 lines 0 comments Download
M gpu/command_buffer/service/gpu_scheduler.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gpu_service_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gpu_tracer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/in_process_command_buffer.cc View 1 5 chunks +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/mailbox_manager_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/program_manager.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/query_manager.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/texture_definition.cc View 8 chunks +14 lines, -14 lines 0 comments Download
M gpu/command_buffer/service/texture_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
dcheng
dcheng@chromium.org changed reviewers: + sievers@chromium.org
6 years, 4 months ago (2014-08-25 21:37:03 UTC) #1
dcheng
Unfortunately, we can't make scoped_refptr testable until the conversion operator has been removed. While it ...
6 years, 4 months ago (2014-08-25 21:37:03 UTC) #2
no sievers
lgtm https://codereview.chromium.org/500243002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc File gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc (right): https://codereview.chromium.org/500243002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc#newcode2320 gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc:2320: EXPECT_CALL(*image.get(), BindTexImage(GL_TEXTURE_2D)) hmm scoped_ptr<> has an operator*. Should ...
6 years, 4 months ago (2014-08-25 21:57:16 UTC) #3
dcheng
https://codereview.chromium.org/500243002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc File gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc (right): https://codereview.chromium.org/500243002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc#newcode2320 gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc:2320: EXPECT_CALL(*image.get(), BindTexImage(GL_TEXTURE_2D)) On 2014/08/25 21:57:15, sievers wrote: > hmm ...
6 years, 4 months ago (2014-08-25 22:02:55 UTC) #4
no sievers
https://codereview.chromium.org/500243002/diff/1/gpu/command_buffer/service/in_process_command_buffer.cc File gpu/command_buffer/service/in_process_command_buffer.cc (right): https://codereview.chromium.org/500243002/diff/1/gpu/command_buffer/service/in_process_command_buffer.cc#newcode270 gpu/command_buffer/service/in_process_command_buffer.cc:270: DCHECK(!share_group || service_.get() == share_group->service_.get()); On 2014/08/25 22:02:54, dcheng ...
6 years, 4 months ago (2014-08-25 22:10:58 UTC) #5
dcheng
On 2014/08/25 at 22:10:58, sievers wrote: > https://codereview.chromium.org/500243002/diff/1/gpu/command_buffer/service/in_process_command_buffer.cc > File gpu/command_buffer/service/in_process_command_buffer.cc (right): > > https://codereview.chromium.org/500243002/diff/1/gpu/command_buffer/service/in_process_command_buffer.cc#newcode270 ...
6 years, 4 months ago (2014-08-25 22:19:55 UTC) #6
no sievers
On 2014/08/25 22:19:55, dcheng (OOO) wrote: > On 2014/08/25 at 22:10:58, sievers wrote: > > ...
6 years, 4 months ago (2014-08-25 22:24:26 UTC) #7
dcheng
The CQ bit was checked by dcheng@chromium.org
6 years, 4 months ago (2014-08-25 22:25:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/500243002/20001
6 years, 4 months ago (2014-08-25 22:27:57 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-26 00:16:35 UTC) #10
commit-bot: I haz the power
Failed to commit the patch.
6 years, 4 months ago (2014-08-26 00:16:36 UTC) #11
dcheng
Committed patchset #2 to pending queue manually as 1abcbd9 (presubmit successful).
6 years, 4 months ago (2014-08-26 00:26:59 UTC) #12
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:39:09 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3d7ce9f4a3fd04b148bd9afc128965b020525410
Cr-Commit-Position: refs/heads/master@{#291805}

Powered by Google App Engine
This is Rietveld 408576698