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

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: Add test. 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
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..93712d40bc53edc096e80c6e223a918cf0a98bbc 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 DidInitializeVisibleTile();
epennerAtGoogle 2013/09/07 00:06:11 Oops. I'm fixing the test to not need this.
epenner 2013/09/07 01:52:23 Done.
+
protected:
LayerTreeHostImpl(
const LayerTreeSettings& settings,
@@ -483,7 +485,7 @@ class CC_EXPORT LayerTreeHostImpl
bool zero_budget);
void EnforceManagedMemoryPolicy(const ManagedMemoryPolicy& policy);
- void DidInitializeVisibleTile();
+
typedef base::hash_map<UIResourceId, ResourceProvider::ResourceId>
UIResourceMap;

Powered by Google App Engine
This is Rietveld 408576698