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

Unified Diff: cc/texture_uploader_unittest.cc

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/texture_uploader.cc ('k') | cc/tiled_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/texture_uploader_unittest.cc
diff --git a/cc/texture_uploader_unittest.cc b/cc/texture_uploader_unittest.cc
index 2da921eccba8bf40e8dbe6c240e37f2a67b87ec2..783ea86c95c7474afddde1115fb6955920b9f92c 100644
--- a/cc/texture_uploader_unittest.cc
+++ b/cc/texture_uploader_unittest.cc
@@ -44,11 +44,11 @@ private:
void uploadTexture(TextureUploader* uploader)
{
- IntSize size(256, 256);
+ gfx::Size size(256, 256);
uploader->upload(NULL,
- IntRect(IntPoint(0, 0), size),
- IntRect(IntPoint(0, 0), size),
- IntSize(),
+ gfx::Rect(gfx::Point(0, 0), size),
+ gfx::Rect(gfx::Point(0, 0), size),
+ gfx::Vector2d(),
GL_RGBA,
size);
}
« no previous file with comments | « cc/texture_uploader.cc ('k') | cc/tiled_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698