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

Unified Diff: cc/renderer.h

Issue 10984053: cc: Use ui/gfx geometry types for the CCRenderPass and CCDrawQuad classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/render_surface_unittest.cc ('k') | cc/shared_quad_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/renderer.h
diff --git a/cc/renderer.h b/cc/renderer.h
index 1b324369065facf745b40a0e4b1db19d7604ccfe..4106eee64c0f495bb2fdf89687655d21343ab5c6 100644
--- a/cc/renderer.h
+++ b/cc/renderer.h
@@ -9,7 +9,6 @@
#include "CCLayerTreeHost.h"
#include "CCRenderPass.h"
#include "FloatQuad.h"
-#include "IntRect.h"
namespace cc {
@@ -42,7 +41,7 @@ public:
const CCLayerTreeSettings& settings() const { return m_client->settings(); }
- const IntSize& viewportSize() { return m_client->deviceViewportSize(); }
+ gfx::Size viewportSize() { return m_client->deviceViewportSize(); }
int viewportWidth() { return viewportSize().width(); }
int viewportHeight() { return viewportSize().height(); }
« no previous file with comments | « cc/render_surface_unittest.cc ('k') | cc/shared_quad_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698