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

Unified Diff: cc/blink/web_scrollbar_layer_impl.cc

Issue 2877033002: Fix cc scrollbar layer issues with initialization, and use element ids throughout. (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..0db9d0f5c5de1f8d42487f0ea3b8e173e9f6f143 100644
--- a/cc/blink/web_scrollbar_layer_impl.cc
+++ b/cc/blink/web_scrollbar_layer_impl.cc
@@ -75,4 +75,8 @@ void WebScrollbarLayerImpl::SetScrollLayer(blink::WebLayer* layer) {
scroll_layer ? scroll_layer->element_id() : cc::ElementId());
}
+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