Index: ui/compositor/transform_recorder.h |
diff --git a/ui/compositor/transform_recorder.h b/ui/compositor/transform_recorder.h |
index c02738e8e16e5f27de6e8092840ccd789823d479..97c632be674740f05aca79789a6557ce52ce31e4 100644 |
--- a/ui/compositor/transform_recorder.h |
+++ b/ui/compositor/transform_recorder.h |
@@ -7,7 +7,6 @@ |
#include "base/macros.h" |
#include "ui/compositor/compositor_export.h" |
-#include "ui/gfx/geometry/rect.h" |
namespace cc { |
class DisplayItem; |
@@ -15,7 +14,6 @@ class DisplayItemList; |
} |
namespace gfx { |
-class Size; |
class Transform; |
} |
@@ -31,14 +29,10 @@ class COMPOSITOR_EXPORT TransformRecorder { |
explicit TransformRecorder(const PaintContext& context); |
~TransformRecorder(); |
- // |size_in_context| is the size in the paint context's space surrounding |
- // everything that's visible. |
- void Transform(const gfx::Transform& transform, |
- const gfx::Size& size_in_context); |
+ void Transform(const gfx::Transform& transform); |
private: |
const PaintContext& context_; |
- gfx::Rect bounds_in_layer_; |
bool transformed_; |
DISALLOW_COPY_AND_ASSIGN(TransformRecorder); |