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

Unified Diff: cc/input/scroll_state_data.cc

Issue 2118993002: Detemplatize cc property nodes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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/input/scroll_state.cc ('k') | cc/input/scroll_state_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/scroll_state_data.cc
diff --git a/cc/input/scroll_state_data.cc b/cc/input/scroll_state_data.cc
index 1ba778d95858bbe319222e1d1241885d4c4a4434..567a02446be2c8a8e0f4647efde43de286d43d36 100644
--- a/cc/input/scroll_state_data.cc
+++ b/cc/input/scroll_state_data.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "cc/input/scroll_state_data.h"
+#include "cc/trees/scroll_node.h"
namespace cc {
@@ -39,7 +40,7 @@ void ScrollStateData::set_current_native_scrolling_node(
ElementId ScrollStateData::current_native_scrolling_element() const {
if (current_native_scrolling_node_)
- return current_native_scrolling_node_->data.element_id;
+ return current_native_scrolling_node_->element_id;
return current_native_scrolling_element_;
}
« no previous file with comments | « cc/input/scroll_state.cc ('k') | cc/input/scroll_state_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698