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

Unified Diff: cc/scrollbar_layer.h

Issue 11264056: cc: Use gfx:: Geometry types for positions, bounds, and related things. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: some missed intstuff Created 8 years, 2 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/scrollbar_layer.h
diff --git a/cc/scrollbar_layer.h b/cc/scrollbar_layer.h
index cfa2fc390b6ecce70917647ba8efdafa9c14b501..9cf6eb3a9da442b7aaf76b1d4c2bcf93117061fe 100644
--- a/cc/scrollbar_layer.h
+++ b/cc/scrollbar_layer.h
@@ -26,7 +26,7 @@ public:
// Layer interface
virtual bool needsContentsScale() const OVERRIDE;
- virtual IntSize contentBounds() const OVERRIDE;
+ virtual gfx::Size contentBounds() const OVERRIDE;
virtual void setTexturePriorities(const PriorityCalculator&) OVERRIDE;
virtual void update(TextureUpdateQueue&, const OcclusionTracker*, RenderingStats&) OVERRIDE;
virtual void setLayerTreeHost(LayerTreeHost*) OVERRIDE;
@@ -42,7 +42,7 @@ protected:
virtual ~ScrollbarLayer();
private:
- void updatePart(CachingBitmapCanvasLayerUpdater*, LayerUpdater::Resource*, const IntRect&, TextureUpdateQueue&, RenderingStats&);
+ void updatePart(CachingBitmapCanvasLayerUpdater*, LayerUpdater::Resource*, const gfx::Rect&, TextureUpdateQueue&, RenderingStats&);
void createUpdaterIfNeeded();
scoped_ptr<WebKit::WebScrollbar> m_scrollbar;

Powered by Google App Engine
This is Rietveld 408576698