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

Unified Diff: cc/trees/property_tree.h

Issue 2832743002: Add ScrollTree::FindNodeFromElementId (Closed)
Patch Set: Created 3 years, 8 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/layer_tree_impl.cc ('k') | 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 52c90bcbdae96bfa68412f46791dcbccab940f8f..36c1722a415cb1d93fe338d22ff9be2a40c123f6 100644
--- a/cc/trees/property_tree.h
+++ b/cc/trees/property_tree.h
@@ -504,6 +504,8 @@ class CC_EXPORT ScrollTree final : public PropertyTree<ScrollNode> {
void CopyCompleteTreeState(const ScrollTree& other);
#endif
+ ScrollNode* FindNodeFromElementId(ElementId id);
+
private:
using ScrollOffsetMap = std::unordered_map<int, gfx::ScrollOffset>;
using SyncedScrollOffsetMap =
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698