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

Unified Diff: cc/layers/scrollbar_layer_impl_base.cc

Issue 2918753002: Prevent create ScrollbarAnimationController for Mac Overlay Scrollbar (Closed)
Patch Set: Prevent create ScrollbarAnimationController for Mac Overlay Scrollbar 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
Index: cc/layers/scrollbar_layer_impl_base.cc
diff --git a/cc/layers/scrollbar_layer_impl_base.cc b/cc/layers/scrollbar_layer_impl_base.cc
index 5070c84b2e341b1817bcb790702ef360965668f9..890d8db2ca403ff7e849d5fdbff6e3bcfea5b8f1 100644
--- a/cc/layers/scrollbar_layer_impl_base.cc
+++ b/cc/layers/scrollbar_layer_impl_base.cc
@@ -236,4 +236,8 @@ void ScrollbarLayerImplBase::SetOverlayScrollbarLayerOpacityAnimated(
layer_tree_impl()->set_needs_update_draw_properties();
}
+bool ScrollbarLayerImplBase::IsSolidColorScrollbarLayerImpl() const {
+ return false;
+}
+
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698