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

Unified Diff: cc/input/scroll_state_data.h

Issue 1973083002: Use element id's for animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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/cc.gyp ('k') | cc/input/scroll_state_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/scroll_state_data.h
diff --git a/cc/input/scroll_state_data.h b/cc/input/scroll_state_data.h
index f2b0b97fc5bb96f228e7fd2e8240781703c2cb52..90339649f5ffbd475d17f5b36421923e1cae812e 100644
--- a/cc/input/scroll_state_data.h
+++ b/cc/input/scroll_state_data.h
@@ -57,8 +57,8 @@ class CC_EXPORT ScrollStateData {
ScrollNode* current_native_scrolling_node() const;
void set_current_native_scrolling_node(
ScrollNode* current_native_scrolling_node);
- uint64_t current_native_scrolling_element() const;
- void set_current_native_scrolling_element(uint64_t element_id);
+ ElementId current_native_scrolling_element() const;
+ void set_current_native_scrolling_element(ElementId element_id);
private:
// Only one of current_native_scrolling_node_ and
@@ -69,7 +69,7 @@ class CC_EXPORT ScrollStateData {
ScrollNode* current_native_scrolling_node_;
// The id of the last native element to respond to a scroll, or 0 if none
// exists.
- uint64_t current_native_scrolling_element_;
+ ElementId current_native_scrolling_element_;
};
} // namespace cc
« no previous file with comments | « cc/cc.gyp ('k') | cc/input/scroll_state_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698