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

Unified Diff: cc/trees/scroll_node.h

Issue 2714043002: Store non-fast scrollable regions on ScrollNode (Closed)
Patch Set: Rebase from space 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 | « cc/trees/property_tree_builder.cc ('k') | cc/trees/scroll_node.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/scroll_node.h
diff --git a/cc/trees/scroll_node.h b/cc/trees/scroll_node.h
index 19e29f4341690d3047f7830e754890bbef158bdb..09d7be86ecf13c5123dfca18ab8cf097496068ce 100644
--- a/cc/trees/scroll_node.h
+++ b/cc/trees/scroll_node.h
@@ -6,6 +6,7 @@
#define CC_TREES_SCROLL_NODE_H_
#include "cc/base/cc_export.h"
+#include "cc/base/region.h"
#include "cc/output/filter_operations.h"
#include "ui/gfx/geometry/size.h"
@@ -37,7 +38,8 @@ struct CC_EXPORT ScrollNode {
bool scrollable;
uint32_t main_thread_scrolling_reasons;
- bool contains_non_fast_scrollable_region;
+
+ Region non_fast_scrollable_region;
// Size of the clipped area, not including non-overlay scrollbars. Overlay
// scrollbars do not affect the clipped area.
« no previous file with comments | « cc/trees/property_tree_builder.cc ('k') | cc/trees/scroll_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698