summaryrefslogtreecommitdiff
path: root/chromium/cc/tiles
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-03-31 16:33:06 +0200
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-04-01 12:24:17 +0000
commitf65c42f8a6395a5fd85719adda57ada167b0dab6 (patch)
tree3840d098e781d092f46d2f2df84b7163d97c362f /chromium/cc/tiles
parentd26d06ed332166d6f61a5c06ab85aee5d987b2b6 (diff)
downloadqtwebengine-chromium-f65c42f8a6395a5fd85719adda57ada167b0dab6.tar.gz
BASELINE: Update Chromium to 49.0.2623.111
Change-Id: I5f8c7bd936a259c7229924aba755ae6064ac9240 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'chromium/cc/tiles')
-rw-r--r--chromium/cc/tiles/tiling_set_raster_queue_all.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chromium/cc/tiles/tiling_set_raster_queue_all.cc b/chromium/cc/tiles/tiling_set_raster_queue_all.cc
index 1ed618a862b..ec5e4132773 100644
--- a/chromium/cc/tiles/tiling_set_raster_queue_all.cc
+++ b/chromium/cc/tiles/tiling_set_raster_queue_all.cc
@@ -35,10 +35,10 @@ TilingSetRasterQueueAll::TilingSetRasterQueueAll(
// Find high and low res tilings and initialize the iterators.
PictureLayerTiling* high_res_tiling = nullptr;
PictureLayerTiling* low_res_tiling = nullptr;
- // This variable would point to a tiling that has a NON_IDEAL_RESOLUTION
- // resolution on the active tree, but HIGH_RESOLUTION on the pending tree.
- // These tilings are the only non-ideal tilings that could have required for
- // activation tiles, so they need to be considered for rasterization.
+ // This variable would point to a tiling that has a NON_IDEAL_RESOLUTION or
+ // LOW_RESOLUTION on the active tree, but HIGH_RESOLUTION on the pending tree.
+ // These tilings are the only non-high res tilings that could have required
+ // for activation tiles, so they need to be considered for rasterization.
PictureLayerTiling* active_non_ideal_pending_high_res_tiling = nullptr;
for (size_t i = 0; i < tiling_set_->num_tilings(); ++i) {
PictureLayerTiling* tiling = tiling_set_->tiling_at(i);
@@ -46,7 +46,7 @@ TilingSetRasterQueueAll::TilingSetRasterQueueAll(
high_res_tiling = tiling;
if (prioritize_low_res && tiling->resolution() == LOW_RESOLUTION)
low_res_tiling = tiling;
- if (tree == ACTIVE_TREE && tiling->resolution() == NON_IDEAL_RESOLUTION) {
+ if (tree == ACTIVE_TREE && tiling->resolution() != HIGH_RESOLUTION) {
const PictureLayerTiling* twin =
client->GetPendingOrActiveTwinTiling(tiling);
if (twin && twin->resolution() == HIGH_RESOLUTION)