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

Side by Side Diff: cc/test/fake_picture_layer_tiling_client.cc

Issue 366113002: cc: Do not cleanup tiles with raster tasks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use scopedvector for released tiles. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/test/fake_picture_layer_tiling_client.h" 5 #include "cc/test/fake_picture_layer_tiling_client.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "cc/test/fake_picture_pile_impl.h" 9 #include "cc/test/fake_picture_pile_impl.h"
10 #include "cc/test/fake_tile_manager.h" 10 #include "cc/test/fake_tile_manager.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 const Region* FakePictureLayerTilingClient::GetInvalidation() { 73 const Region* FakePictureLayerTilingClient::GetInvalidation() {
74 return &invalidation_; 74 return &invalidation_;
75 } 75 }
76 76
77 const PictureLayerTiling* FakePictureLayerTilingClient::GetTwinTiling( 77 const PictureLayerTiling* FakePictureLayerTilingClient::GetTwinTiling(
78 const PictureLayerTiling* tiling) const { 78 const PictureLayerTiling* tiling) const {
79 return twin_tiling_; 79 return twin_tiling_;
80 } 80 }
81 81
82 WhichTree FakePictureLayerTilingClient::GetTree() const {
83 // TODO(sohanjg): Find correct tree for test.
reveman 2014/07/28 02:24:35 I don't think this should be a todo. What needs to
sohanjg 2014/07/28 10:10:19 For getting correct tree we need to set which tree
84 return PENDING_TREE;
85 }
86
82 } // namespace cc 87 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698