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

Issue 12209103: cc: Fix PostiveRatio crash by checking raster scale (Closed)

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

Description

cc: Fix PostiveRatio crash by checking raster scale The first time through ManageTilings, raster scale is zero, so you can't use it to find a ratio. This DCHECKS because the ratio is infinite. If the raster scale is zero, we already create new tilings, so skipping this check will just avoid the DCHECK. R=reveman@chromium.org BUG=174236 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181857

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M cc/picture_layer_impl.cc View 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 8 (0 generated)
enne (OOO)
7 years, 10 months ago (2013-02-11 22:40:01 UTC) #1
reveman
lgtm
7 years, 10 months ago (2013-02-11 22:45:52 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/12209103/1
7 years, 10 months ago (2013-02-11 22:53:17 UTC) #3
danakj
Thanks for fixing this. https://chromiumcodereview.appspot.com/12209103/diff/1/cc/picture_layer_impl.cc File cc/picture_layer_impl.cc (right): https://chromiumcodereview.appspot.com/12209103/diff/1/cc/picture_layer_impl.cc#newcode573 cc/picture_layer_impl.cc:573: if (is_active_layer && is_pinching && ...
7 years, 10 months ago (2013-02-11 23:11:35 UTC) #4
commit-bot: I haz the power
List of reviewers changed. danakj@chromium.org did a drive-by without LGTM'ing!
7 years, 10 months ago (2013-02-12 02:14:23 UTC) #5
enne (OOO)
https://chromiumcodereview.appspot.com/12209103/diff/1/cc/picture_layer_impl.cc File cc/picture_layer_impl.cc (right): https://chromiumcodereview.appspot.com/12209103/diff/1/cc/picture_layer_impl.cc#newcode573 cc/picture_layer_impl.cc:573: if (is_active_layer && is_pinching && raster_page_scale_) { On 2013/02/11 ...
7 years, 10 months ago (2013-02-12 02:18:20 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/12209103/1
7 years, 10 months ago (2013-02-12 02:19:08 UTC) #7
commit-bot: I haz the power
7 years, 10 months ago (2013-02-12 04:56:48 UTC) #8
Message was sent while issue was closed.
Change committed as 181857

Powered by Google App Engine
This is Rietveld 408576698