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

Unified Diff: cc/scoped_texture.cc

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: ScaleAsVector Created 8 years, 1 month 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/scoped_texture.h ('k') | cc/scrollbar_animation_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scoped_texture.cc
diff --git a/cc/scoped_texture.cc b/cc/scoped_texture.cc
index 406dad25fc9b6bd5ee8ea4e97aa8d5348588dce1..5f4047544670e671383e07a70c8b1b2e53ccdeef 100644
--- a/cc/scoped_texture.cc
+++ b/cc/scoped_texture.cc
@@ -19,10 +19,10 @@ ScopedTexture::~ScopedTexture()
free();
}
-bool ScopedTexture::allocate(int pool, const IntSize& size, GLenum format, ResourceProvider::TextureUsageHint hint)
+bool ScopedTexture::allocate(int pool, const gfx::Size& size, GLenum format, ResourceProvider::TextureUsageHint hint)
{
DCHECK(!id());
- DCHECK(!size.isEmpty());
+ DCHECK(!size.IsEmpty());
setDimensions(size, format);
setId(m_resourceProvider->createResource(pool, size, format, hint));
« no previous file with comments | « cc/scoped_texture.h ('k') | cc/scrollbar_animation_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698