Index: third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h b/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h |
index 691c56edcb58e1f6644da16e81a5e662cb1163b1..76844fb8d94561ee2542d86cc923ad7a799f78c9 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h |
@@ -9,7 +9,6 @@ |
#include "platform/geometry/FloatPoint3D.h" |
#include "platform/graphics/CompositingReasons.h" |
#include "platform/graphics/CompositorElementId.h" |
-#include "platform/graphics/paint/GeometryMapperTransformCache.h" |
#include "platform/graphics/paint/ScrollPaintPropertyNode.h" |
#include "platform/transforms/TransformationMatrix.h" |
#include "wtf/PassRefPtr.h" |
@@ -208,20 +207,6 @@ |
m_compositorElementId(compositorElementId), |
m_scroll(scroll) {} |
- // For access to getTransformCache() and setCachedTransform. |
- friend class GeometryMapper; |
- friend class GeometryMapperTest; |
- |
- GeometryMapperTransformCache& getTransformCache() const { |
- return const_cast<TransformPaintPropertyNode*>(this)->getTransformCache(); |
- } |
- |
- GeometryMapperTransformCache& getTransformCache() { |
- if (!m_geometryMapperTransformCache) |
- m_geometryMapperTransformCache.reset(new GeometryMapperTransformCache()); |
- return *m_geometryMapperTransformCache.get(); |
- } |
- |
RefPtr<const TransformPaintPropertyNode> m_parent; |
TransformationMatrix m_matrix; |
FloatPoint3D m_origin; |
@@ -230,8 +215,6 @@ |
CompositingReasons m_directCompositingReasons; |
CompositorElementId m_compositorElementId; |
RefPtr<ScrollPaintPropertyNode> m_scroll; |
- |
- std::unique_ptr<GeometryMapperTransformCache> m_geometryMapperTransformCache; |
}; |
// Redeclared here to avoid ODR issues. |