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

Unified Diff: cc/blink/web_scrollbar_layer_impl.cc

Issue 2866733002: Remove owning_id from EffectNode and replace it by an opaque stable_id (Closed)
Patch Set: none Created 3 years, 7 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/blink/web_scrollbar_layer_impl.h ('k') | cc/input/scrollbar_animation_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_scrollbar_layer_impl.cc
diff --git a/cc/blink/web_scrollbar_layer_impl.cc b/cc/blink/web_scrollbar_layer_impl.cc
index e966ab05047805d20d8ff4f326114f341f244ec3..5b3d99eb34f8a128a1dab696f449b9415ef1c0d5 100644
--- a/cc/blink/web_scrollbar_layer_impl.cc
+++ b/cc/blink/web_scrollbar_layer_impl.cc
@@ -75,4 +75,10 @@ void WebScrollbarLayerImpl::SetScrollLayer(blink::WebLayer* layer) {
scroll_layer ? scroll_layer->element_id() : cc::ElementId());
}
+// This is not the same as scroll_element_id. scroll_elent_id is the
+// ElementId for the scrolling contents, not the scrollbar itself.
+void WebScrollbarLayerImpl::SetElementId(const cc::ElementId& element_id) {
+ layer_->SetElementId(element_id);
+}
+
} // namespace cc_blink
« no previous file with comments | « cc/blink/web_scrollbar_layer_impl.h ('k') | cc/input/scrollbar_animation_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698