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

Unified Diff: cc/layer_sorter.h

Issue 11369018: cc: Switch from WebCore::FloatPoint3D to gfx::Point3F and gfx::Vector3dF in the compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing base files 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
« cc/cc.gyp ('K') | « cc/layer_quad.h ('k') | cc/layer_sorter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_sorter.h
diff --git a/cc/layer_sorter.h b/cc/layer_sorter.h
index 434fa233cd60bd209ae9670ba49e2e6148951bb1..6c5b9c50367ca3b92d85bd60cec3834e7739a4c2 100644
--- a/cc/layer_sorter.h
+++ b/cc/layer_sorter.h
@@ -5,12 +5,13 @@
#ifndef CCLayerSorter_h
#define CCLayerSorter_h
-#include "FloatPoint3D.h"
#include "FloatQuad.h"
#include "base/basictypes.h"
#include "base/hash_tables.h"
#include "cc/layer_impl.h"
+#include "ui/gfx/point3_f.h"
#include "ui/gfx/rect_f.h"
+#include "ui/gfx/vector3d_f.h"
#if defined(COMPILER_GCC)
namespace cc
@@ -44,8 +45,8 @@ struct LayerShape {
float layerZFromProjectedPoint(const gfx::PointF&) const;
- FloatPoint3D layerNormal;
- FloatPoint3D transformOrigin;
+ gfx::Vector3dF layerNormal;
+ gfx::Point3F transformOrigin;
FloatQuad projectedQuad;
gfx::RectF projectedBounds;
};
« cc/cc.gyp ('K') | « cc/layer_quad.h ('k') | cc/layer_sorter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698