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

Unified Diff: cc/layers/painted_scrollbar_layer.h

Issue 537943003: Releasing Track & Thumb UIResources based on their Geometry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Releasing Track & Thumb UIResources based on their Geometry Created 6 years, 3 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 | « no previous file | cc/layers/painted_scrollbar_layer.cc » ('j') | cc/layers/painted_scrollbar_layer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/painted_scrollbar_layer.h
diff --git a/cc/layers/painted_scrollbar_layer.h b/cc/layers/painted_scrollbar_layer.h
index cd6a0460a43fa0f7cc1318df72c84b8564f6153a..6d3c9d308cbe3049b0d7e51ebeb900adb5e87787 100644
--- a/cc/layers/painted_scrollbar_layer.h
+++ b/cc/layers/painted_scrollbar_layer.h
@@ -59,6 +59,7 @@ class CC_EXPORT PaintedScrollbarLayer : public ScrollbarLayerInterface,
return thumb_resource_.get() ? thumb_resource_->id() : 0;
}
void UpdateThumbAndTrackGeometry();
+ void ReleaseThumbAndTrackUIResourcesIfNecessary();
private:
gfx::Rect ScrollbarLayerRectToContentRect(const gfx::Rect& layer_rect) const;
« no previous file with comments | « no previous file | cc/layers/painted_scrollbar_layer.cc » ('j') | cc/layers/painted_scrollbar_layer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698