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

Unified Diff: cc/content_layer_updater.h

Issue 11266030: Use gfx:: Geometry types for the resource provider and layer updater classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: uint8 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
« no previous file with comments | « cc/content_layer_unittest.cc ('k') | cc/content_layer_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/content_layer_updater.h
diff --git a/cc/content_layer_updater.h b/cc/content_layer_updater.h
index 4d59587e062f2ffe18a5e64a103ae7a682006be8..2e44bf7ef95ae98d5d689f3482c9d8bee3389091 100644
--- a/cc/content_layer_updater.h
+++ b/cc/content_layer_updater.h
@@ -21,11 +21,11 @@ protected:
explicit ContentLayerUpdater(scoped_ptr<LayerPainter>);
virtual ~ContentLayerUpdater();
- void paintContents(SkCanvas*, const IntRect& contentRect, float contentsWidthScale, float contentsHeightScale, IntRect& resultingOpaqueRect, RenderingStats&);
- const IntRect& contentRect() const { return m_contentRect; }
+ void paintContents(SkCanvas*, const gfx::Rect& contentRect, float contentsWidthScale, float contentsHeightScale, gfx::Rect& resultingOpaqueRect, RenderingStats&);
+ const gfx::Rect& contentRect() const { return m_contentRect; }
private:
- IntRect m_contentRect;
+ gfx::Rect m_contentRect;
scoped_ptr<LayerPainter> m_painter;
};
« no previous file with comments | « cc/content_layer_unittest.cc ('k') | cc/content_layer_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698