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

Issue 1365793003: cc: Re-enable disabled tile manager unittests (plus fixes) (Closed)

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

Description

cc: Re-enable disabled tile manager unittests (plus fixes) This patch creates a solid color tiling that pretends that it's not solid, so that tiles can be created. This ensures that we don't try to allocate resources/staging buffers for the tiles, and avoid a crash. BUG=534911 R=danakj CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/a8d87627d155679cb83db95d39a1798c19c33c6f Cr-Commit-Position: refs/heads/master@{#351181}

Patch Set 1 #

Total comments: 2

Patch Set 2 : update #

Patch Set 3 : update #

Patch Set 4 : update #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -31 lines) Patch
M cc/test/fake_layer_tree_host_impl.h View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M cc/test/fake_layer_tree_host_impl.cc View 1 2 3 4 1 chunk +19 lines, -18 lines 0 comments Download
M cc/tiles/tile_manager_unittest.cc View 1 2 6 chunks +7 lines, -13 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
vmpstr
Please take a look.
5 years, 2 months ago (2015-09-26 00:36:06 UTC) #1
danakj
https://codereview.chromium.org/1365793003/diff/1/cc/tiles/tile_manager_unittest.cc File cc/tiles/tile_manager_unittest.cc (right): https://codereview.chromium.org/1365793003/diff/1/cc/tiles/tile_manager_unittest.cc#newcode87 cc/tiles/tile_manager_unittest.cc:87: pending_raster_source->set_is_solid_color(false); Please leave a comment explaining this solid color ...
5 years, 2 months ago (2015-09-28 18:26:43 UTC) #2
vmpstr
Please take a look. https://codereview.chromium.org/1365793003/diff/1/cc/tiles/tile_manager_unittest.cc File cc/tiles/tile_manager_unittest.cc (right): https://codereview.chromium.org/1365793003/diff/1/cc/tiles/tile_manager_unittest.cc#newcode87 cc/tiles/tile_manager_unittest.cc:87: pending_raster_source->set_is_solid_color(false); On 2015/09/28 18:26:43, danakj ...
5 years, 2 months ago (2015-09-28 20:23:21 UTC) #3
danakj
On Mon, Sep 28, 2015 at 1:23 PM, <vmpstr@chromium.org> wrote: > Please take a look. ...
5 years, 2 months ago (2015-09-28 21:00:10 UTC) #4
vmpstr
PTAL On 2015/09/28 21:00:10, danakj wrote: > On Mon, Sep 28, 2015 at 1:23 PM, ...
5 years, 2 months ago (2015-09-28 21:27:24 UTC) #5
danakj
LGTM https://codereview.chromium.org/1365793003/diff/60001/cc/test/fake_layer_tree_host_impl.cc File cc/test/fake_layer_tree_host_impl.cc (left): https://codereview.chromium.org/1365793003/diff/60001/cc/test/fake_layer_tree_host_impl.cc#oldcode25 cc/test/fake_layer_tree_host_impl.cc:25: SetViewportSize(gfx::Size(100, 100)); Huh, no tests depended on this?
5 years, 2 months ago (2015-09-28 21:28:47 UTC) #6
vmpstr
https://codereview.chromium.org/1365793003/diff/60001/cc/test/fake_layer_tree_host_impl.cc File cc/test/fake_layer_tree_host_impl.cc (left): https://codereview.chromium.org/1365793003/diff/60001/cc/test/fake_layer_tree_host_impl.cc#oldcode25 cc/test/fake_layer_tree_host_impl.cc:25: SetViewportSize(gfx::Size(100, 100)); On 2015/09/28 21:28:47, danakj wrote: > Huh, ...
5 years, 2 months ago (2015-09-28 21:36:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1365793003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1365793003/80001
5 years, 2 months ago (2015-09-28 21:37:20 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 2 months ago (2015-09-28 22:43:25 UTC) #11
commit-bot: I haz the power
5 years, 2 months ago (2015-09-28 22:44:33 UTC) #12
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a8d87627d155679cb83db95d39a1798c19c33c6f
Cr-Commit-Position: refs/heads/master@{#351181}

Powered by Google App Engine
This is Rietveld 408576698