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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 23686011: CC: Fix missing swap-used-incomplete-tile updates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host_unittest_damage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index 55ccab68a6b0cdc647602a703bbbc8923a820300..3f0975f3755ae27b04e3ebc67191b43ff423c30b 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -271,7 +271,7 @@ class CC_EXPORT LayerTreeHostImpl
const LayerTreeImpl* pending_tree() const { return pending_tree_.get(); }
const LayerTreeImpl* recycle_tree() const { return recycle_tree_.get(); }
virtual void CreatePendingTree();
- void UpdateVisibleTiles();
+ virtual void UpdateVisibleTiles();
virtual void ActivatePendingTree();
// Shortcuts to layers on the active tree.
@@ -413,6 +413,8 @@ class CC_EXPORT LayerTreeHostImpl
ResourceProvider::ResourceId ResourceIdForUIResource(UIResourceId uid) const;
+ void DidInitializeVisibleTileForTesting() { DidInitializeVisibleTile(); }
+
protected:
LayerTreeHostImpl(
const LayerTreeSettings& settings,
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host_unittest_damage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698