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

Issue 1314943008: cc: Remove implicit conversions from Rect to RectF in src/cc/. (Closed)

Created:
5 years, 3 months ago by danakj
Modified:
5 years, 3 months ago
Reviewers:
vmpstr, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, enne (OOO), piman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Remove implicit conversions from Rect to RectF in src/cc/. This changes them to be explicit. I'd like to do this everywhere and then make such implicit conversion not possible in the gfx classes. R=enne, vmpstr BUG=342848 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/5e6ff6de73b07d289f236e5b2b4aa7b7e67bf2bb Cr-Commit-Position: refs/heads/master@{#347557}

Patch Set 1 #

Total comments: 5

Patch Set 2 : rectfconvert-cc: . #

Patch Set 3 : rectfconvert-cc: . #

Patch Set 4 : rectfconvert-cc: . #

Patch Set 5 : rectfconvert-cc: rebase #

Patch Set 6 : rectfconvert-cc: rebase #

Patch Set 7 : rectfconvert-cc: rebase-and-sandwich-strategy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+306 lines, -277 lines) Patch
M cc/base/math_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/delegated_frame_provider.h View 3 chunks +4 lines, -4 lines 0 comments Download
M cc/layers/delegated_frame_provider.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M cc/layers/delegated_frame_provider_unittest.cc View 5 chunks +16 lines, -16 lines 0 comments Download
M cc/layers/delegated_renderer_layer.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/delegated_renderer_layer.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/delegated_renderer_layer_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/delegated_renderer_layer_impl.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M cc/layers/nine_patch_layer_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M cc/layers/render_surface_impl.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M cc/layers/scrollbar_layer_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M cc/output/direct_renderer.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M cc/output/gl_renderer.cc View 1 2 3 17 chunks +42 lines, -39 lines 0 comments Download
M cc/output/gl_renderer_unittest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M cc/output/overlay_candidate.h View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M cc/output/overlay_strategy_common.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/output/overlay_strategy_sandwich.cc View 1 2 3 4 5 6 7 chunks +18 lines, -20 lines 0 comments Download
M cc/output/overlay_strategy_single_on_top.cc View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M cc/output/overlay_strategy_underlay.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/output/overlay_unittest.cc View 1 2 3 4 5 6 5 chunks +10 lines, -10 lines 0 comments Download
M cc/output/renderer_pixeltest.cc View 6 chunks +18 lines, -17 lines 0 comments Download
M cc/output/software_renderer.cc View 1 2 7 chunks +13 lines, -12 lines 0 comments Download
M cc/playback/display_item_list_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/playback/display_list_raster_source.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M cc/playback/picture_pile_impl.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M cc/playback/picture_pile_impl_unittest.cc View 3 3 chunks +3 lines, -5 lines 0 comments Download
M cc/playback/raster_source_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/quads/content_draw_quad_base.h View 1 chunk +5 lines, -1 line 0 comments Download
M cc/quads/draw_quad.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M cc/quads/yuv_video_draw_quad.h View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/test/fake_content_layer_client.h View 2 chunks +6 lines, -1 line 0 comments Download
M cc/test/fake_content_layer_client.cc View 4 chunks +8 lines, -13 lines 0 comments Download
M cc/test/fake_delegated_renderer_layer_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/test/fake_display_list_recording_source.h View 1 chunk +10 lines, -2 lines 0 comments Download
M cc/test/fake_picture_pile.h View 1 chunk +13 lines, -5 lines 0 comments Download
M cc/test/layer_test_common.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M cc/test/test_context_support.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M cc/tiles/picture_layer_tiling.cc View 1 3 1 chunk +1 line, -1 line 0 comments Download
M cc/tiles/picture_layer_tiling_unittest.cc View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_common.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 4 17 chunks +29 lines, -29 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 2 chunks +3 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 3 chunks +5 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_pixeltest_synchronous.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 4 chunks +4 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_context.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_damage.cc View 1 2 3 4 9 chunks +14 lines, -18 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_video.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/property_tree.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/property_tree_builder.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 28 (13 generated)
danakj
5 years, 3 months ago (2015-08-28 23:45:50 UTC) #1
vmpstr
https://codereview.chromium.org/1314943008/diff/1/cc/test/layer_test_common.cc File cc/test/layer_test_common.cc (right): https://codereview.chromium.org/1314943008/diff/1/cc/test/layer_test_common.cc#newcode91 cc/test/layer_test_common.cc:91: ASSERT_EQ(target_rectf, gfx::RectF(target_rect)); Why assert? https://codereview.chromium.org/1314943008/diff/1/cc/tiles/picture_layer_tiling.cc File cc/tiles/picture_layer_tiling.cc (right): https://codereview.chromium.org/1314943008/diff/1/cc/tiles/picture_layer_tiling.cc#newcode541 ...
5 years, 3 months ago (2015-08-29 00:02:46 UTC) #2
danakj
https://codereview.chromium.org/1314943008/diff/1/cc/test/layer_test_common.cc File cc/test/layer_test_common.cc (right): https://codereview.chromium.org/1314943008/diff/1/cc/test/layer_test_common.cc#newcode91 cc/test/layer_test_common.cc:91: ASSERT_EQ(target_rectf, gfx::RectF(target_rect)); On 2015/08/29 00:02:46, vmpstr wrote: > Why ...
5 years, 3 months ago (2015-08-29 00:13:37 UTC) #3
vmpstr
lgtm. Thanks for doing this. https://codereview.chromium.org/1314943008/diff/1/cc/test/layer_test_common.cc File cc/test/layer_test_common.cc (right): https://codereview.chromium.org/1314943008/diff/1/cc/test/layer_test_common.cc#newcode91 cc/test/layer_test_common.cc:91: ASSERT_EQ(target_rectf, gfx::RectF(target_rect)); On 2015/08/29 ...
5 years, 3 months ago (2015-08-31 20:08:38 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1314943008/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1314943008/20001
5 years, 3 months ago (2015-08-31 22:16:57 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/92280)
5 years, 3 months ago (2015-08-31 22:21:53 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1314943008/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1314943008/40001
5 years, 3 months ago (2015-08-31 23:37:15 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/115584) chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 3 months ago (2015-08-31 23:59:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1314943008/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1314943008/60001
5 years, 3 months ago (2015-09-04 21:59:09 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/94206) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 3 months ago (2015-09-04 22:01:47 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1314943008/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1314943008/80001
5 years, 3 months ago (2015-09-04 22:51:13 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/94662) mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 3 months ago (2015-09-04 23:03:10 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1314943008/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1314943008/120001
5 years, 3 months ago (2015-09-05 00:30:36 UTC) #26
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 3 months ago (2015-09-05 04:43:52 UTC) #27
commit-bot: I haz the power
5 years, 3 months ago (2015-09-05 04:45:04 UTC) #28
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/5e6ff6de73b07d289f236e5b2b4aa7b7e67bf2bb
Cr-Commit-Position: refs/heads/master@{#347557}

Powered by Google App Engine
This is Rietveld 408576698