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

Unified Diff: cc/layers/solid_color_scrollbar_layer.cc

Issue 189523002: Ignore setNeedsDisplay for SolidColorScrollbarLayer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/layers/solid_color_scrollbar_layer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/solid_color_scrollbar_layer.cc
diff --git a/cc/layers/solid_color_scrollbar_layer.cc b/cc/layers/solid_color_scrollbar_layer.cc
index 22c39a6c145bfb54cfbb66117333bd01f6f5d967..4a8e7224989b92c41bb852bb025988305477a94f 100644
--- a/cc/layers/solid_color_scrollbar_layer.cc
+++ b/cc/layers/solid_color_scrollbar_layer.cc
@@ -64,6 +64,10 @@ void SolidColorScrollbarLayer::PushScrollClipPropertiesTo(LayerImpl* layer) {
scrollbar_layer->SetClipLayerById(clip_layer_id_);
}
+void SolidColorScrollbarLayer::SetNeedsDisplayRect(const gfx::RectF&) {
+ // Never needs repaint.
+}
+
bool SolidColorScrollbarLayer::OpacityCanAnimateOnImplThread() const {
return true;
}
« no previous file with comments | « cc/layers/solid_color_scrollbar_layer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698