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

Issue 136143004: cc: Remove TiledLayer mask DCHECK for 0 tiles (Closed)

Created:
6 years, 11 months ago by enne (OOO)
Modified:
6 years, 11 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

cc: Remove TiledLayer mask DCHECK for 0 tiles It seems that this is firing in practice, so don't DCHECK it. Instead, just return no resource at all since that mask layer can't draw. This will behave identically to the case where there is no mask at all. BUG=165723 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245365

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M cc/layers/tiled_layer_impl.cc View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
enne (OOO)
6 years, 11 months ago (2014-01-16 00:59:41 UTC) #1
danakj
LGTM with a simple test On Jan 15, 2014 7:59 PM, <enne@chromium.org> wrote: > Reviewers: ...
6 years, 11 months ago (2014-01-16 16:27:20 UTC) #2
enne (OOO)
What am I testing? "This doesn't DCHECK" is a really poor test.
6 years, 11 months ago (2014-01-16 19:28:56 UTC) #3
danakj
On 2014/01/16 19:28:56, enne wrote: > What am I testing? "This doesn't DCHECK" is a ...
6 years, 11 months ago (2014-01-16 19:30:58 UTC) #4
enne (OOO)
On 2014/01/16 19:30:58, danakj wrote: > On 2014/01/16 19:28:56, enne wrote: > > What am ...
6 years, 11 months ago (2014-01-16 19:41:24 UTC) #5
enne (OOO)
Here's a test: https://codereview.chromium.org/137853021
6 years, 11 months ago (2014-01-16 19:49:52 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/136143004/1
6 years, 11 months ago (2014-01-16 19:50:30 UTC) #7
commit-bot: I haz the power
6 years, 11 months ago (2014-01-16 23:01:03 UTC) #8
Message was sent while issue was closed.
Change committed as 245365

Powered by Google App Engine
This is Rietveld 408576698