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

Issue 258053011: cc: Fix PictureLayerImpl::SanityCheck condition (Closed)

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

Description

cc: Fix PictureLayerImpl::SanityCheck condition PictureLayerImpl::ReleaseResources calls set_needs_update_draw_properties, expecting as a result that if it is false again, that CalculateContentsScale is called in between. However this assumption is not true as CalculateDrawProperties can skip layers. Instead, also check should_update_tile_priorities_ which is set in CalculateContentsScale. BUG=358350 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266813

Patch Set 1 #

Total comments: 2

Patch Set 2 : merge ifs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -8 lines) Patch
M cc/layers/picture_layer_impl.cc View 1 2 chunks +7 lines, -8 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
boliu
ptal
6 years, 7 months ago (2014-04-28 23:41:39 UTC) #1
enne (OOO)
lgtm, thanks. I guess we can see if there are other crashes after this and ...
6 years, 7 months ago (2014-04-28 23:45:27 UTC) #2
boliu
Yep. I'll let you know if I get any android webview reports. https://codereview.chromium.org/258053011/diff/1/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc ...
6 years, 7 months ago (2014-04-28 23:50:38 UTC) #3
boliu
The CQ bit was checked by boliu@chromium.org
6 years, 7 months ago (2014-04-28 23:50:58 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/258053011/20001
6 years, 7 months ago (2014-04-28 23:53:02 UTC) #5
commit-bot: I haz the power
6 years, 7 months ago (2014-04-29 09:47:35 UTC) #6
Message was sent while issue was closed.
Change committed as 266813

Powered by Google App Engine
This is Rietveld 408576698