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

Unified Diff: cc/io_surface_layer_impl.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: 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/image_layer.cc ('k') | cc/io_surface_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/io_surface_layer_impl.h
diff --git a/cc/io_surface_layer_impl.h b/cc/io_surface_layer_impl.h
index aef12de22fc9af461504c88480e90aff4419cadf..91e889ecc42a8fcc59a233e54c031ce9ad65736f 100644
--- a/cc/io_surface_layer_impl.h
+++ b/cc/io_surface_layer_impl.h
@@ -5,8 +5,8 @@
#ifndef CCIOSurfaceLayerImpl_h
#define CCIOSurfaceLayerImpl_h
-#include "IntSize.h"
#include "cc/layer_impl.h"
+#include "ui/gfx/size.h"
namespace cc {
@@ -18,7 +18,7 @@ public:
}
virtual ~IOSurfaceLayerImpl();
- void setIOSurfaceProperties(unsigned ioSurfaceId, const IntSize&);
+ void setIOSurfaceProperties(unsigned ioSurfaceId, const gfx::Size&);
virtual void appendQuads(QuadSink&, AppendQuadsData&) OVERRIDE;
@@ -33,7 +33,7 @@ private:
virtual const char* layerTypeAsString() const OVERRIDE;
unsigned m_ioSurfaceId;
- IntSize m_ioSurfaceSize;
+ gfx::Size m_ioSurfaceSize;
bool m_ioSurfaceChanged;
unsigned m_ioSurfaceTextureId;
};
« no previous file with comments | « cc/image_layer.cc ('k') | cc/io_surface_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698