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

Unified Diff: cc/texture_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/texture_layer.h
diff --git a/cc/texture_layer.h b/cc/texture_layer.h
index f72282f62fde689ed38a9da06928c62b78ff9ace..25a38fb29d7d79406290f9165e8377cf64355dcf 100644
--- a/cc/texture_layer.h
+++ b/cc/texture_layer.h
@@ -31,7 +31,7 @@ public:
void setFlipped(bool);
// Sets a UV transform to be used at draw time. Defaults to (0, 0, 1, 1).
- void setUVRect(const FloatRect&);
+ void setUVRect(const gfx::RectF&);
// Sets whether the alpha channel is premultiplied or unpremultiplied. Defaults to true.
void setPremultipliedAlpha(bool);
@@ -46,7 +46,7 @@ public:
void willModifyTexture();
- virtual void setNeedsDisplayRect(const FloatRect&) OVERRIDE;
+ virtual void setNeedsDisplayRect(const gfx::RectF&) OVERRIDE;
virtual void setLayerTreeHost(LayerTreeHost*) OVERRIDE;
virtual bool drawsContent() const OVERRIDE;
@@ -61,7 +61,7 @@ private:
TextureLayerClient* m_client;
bool m_flipped;
- FloatRect m_uvRect;
+ gfx::RectF m_uvRect;
bool m_premultipliedAlpha;
bool m_rateLimitContext;
bool m_contextLost;

Powered by Google App Engine
This is Rietveld 408576698