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

Unified Diff: cc/trees/property_tree.h

Issue 2702053002: Remove ScrollNode's layer_id_to_scrollbars_enabled_map (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | cc/trees/property_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/property_tree.h
diff --git a/cc/trees/property_tree.h b/cc/trees/property_tree.h
index 58d4f5f823d3cdf8e1e8937f279dc7abac405666..5257eaddb9961d58980a882e204137f2c3654396 100644
--- a/cc/trees/property_tree.h
+++ b/cc/trees/property_tree.h
@@ -361,8 +361,6 @@ class CC_EXPORT ScrollTree final : public PropertyTree<ScrollNode> {
void clear();
- typedef std::unordered_map<int, bool> ScrollbarsEnabledMap;
-
gfx::ScrollOffset MaxScrollOffset(int scroll_node_id) const;
void OnScrollOffsetAnimated(int layer_id,
int scroll_tree_index,
@@ -435,7 +433,6 @@ class CC_EXPORT ScrollTree final : public PropertyTree<ScrollNode> {
std::unordered_map<int, scoped_refptr<SyncedScrollOffset>>;
int currently_scrolling_node_id_;
- ScrollbarsEnabledMap layer_id_to_scrollbars_enabled_map_;
// On the main thread we store the scroll offsets directly since the main
// thread only needs to keep track of the current main thread state. The impl
« no previous file with comments | « no previous file | cc/trees/property_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698