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

Issue 294463002: cc: Reset raster scale if we didn't sync high res tiling. (Closed)

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

Description

cc: Reset raster scale if we didn't sync high res tiling. When we sync tilings, we always expect to sync the high res tiling. However, in situations where our minimum contents scale prevents us from syncing the high res tiling, we should instead reset the raster contents scale, since those would be invalid as well. This also ensures that we will create a new high res tiling when we call ManageTilings. BUG=374143 R=enne Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271527

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : +test #

Total comments: 2

Patch Set 4 : more comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -13 lines) Patch
M cc/layers/picture_layer_impl.cc View 1 2 1 chunk +13 lines, -2 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 1 chunk +54 lines, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.h View 1 1 chunk +5 lines, -5 lines 0 comments Download
M cc/resources/picture_layer_tiling_set.cc View 1 4 chunks +12 lines, -6 lines 0 comments Download
M cc/test/fake_picture_layer_impl.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
vmpstr
Please take a look. It's possible that maybe DrawsContent should return false if we have ...
6 years, 7 months ago (2014-05-16 22:56:04 UTC) #1
enne (OOO)
How does this prevent the crash in the bug?
6 years, 7 months ago (2014-05-19 17:24:07 UTC) #2
vmpstr
On 2014/05/19 17:24:07, enne wrote: > How does this prevent the crash in the bug? ...
6 years, 7 months ago (2014-05-19 19:31:18 UTC) #3
vmpstr
PTAL
6 years, 7 months ago (2014-05-19 21:57:54 UTC) #4
enne (OOO)
https://codereview.chromium.org/294463002/diff/40001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/294463002/diff/40001/cc/layers/picture_layer_impl_unittest.cc#newcode1756 cc/layers/picture_layer_impl_unittest.cc:1756: // Ensure we need post commit initialization on the ...
6 years, 7 months ago (2014-05-19 22:27:36 UTC) #5
vmpstr
PTAL https://codereview.chromium.org/294463002/diff/40001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/294463002/diff/40001/cc/layers/picture_layer_impl_unittest.cc#newcode1756 cc/layers/picture_layer_impl_unittest.cc:1756: // Ensure we need post commit initialization on ...
6 years, 7 months ago (2014-05-19 22:46:28 UTC) #6
enne (OOO)
lgtm, thanks!
6 years, 7 months ago (2014-05-19 22:53:42 UTC) #7
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 7 months ago (2014-05-19 22:53:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/294463002/60001
6 years, 7 months ago (2014-05-19 22:55:08 UTC) #9
commit-bot: I haz the power
6 years, 7 months ago (2014-05-20 01:09:23 UTC) #10
Message was sent while issue was closed.
Change committed as 271527

Powered by Google App Engine
This is Rietveld 408576698