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

Unified Diff: cc/debug_rect_history.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/debug_rect_history.h
diff --git a/cc/debug_rect_history.h b/cc/debug_rect_history.h
index c64e2ad72ef5d432c6cc0824a5f7ced0b638a73c..b406b21e0d9977bca13174e1bfee21f0ed02dac1 100644
--- a/cc/debug_rect_history.h
+++ b/cc/debug_rect_history.h
@@ -8,8 +8,7 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "ui/gfx/rect.h"
-#include "FloatRect.h"
-#include "IntRect.h"
+#include "ui/gfx/rect_f.h"
#include <wtf/Vector.h>
#include <vector>
@@ -40,12 +39,12 @@ struct LayerTreeSettings;
enum DebugRectType { PaintRectType, PropertyChangedRectType, SurfaceDamageRectType, ScreenSpaceRectType, ReplicaScreenSpaceRectType, OccludingRectType };
struct DebugRect {
- DebugRect(DebugRectType newType, FloatRect newRect)
+ DebugRect(DebugRectType newType, gfx::RectF newRect)
: type(newType)
, rect(newRect) { }
DebugRectType type;
- FloatRect rect;
+ gfx::RectF rect;
};
// This class maintains a history of rects of various types that can be used
« no previous file with comments | « cc/damage_tracker_unittest.cc ('k') | cc/debug_rect_history.cc » ('j') | cc/layer_quad.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698