Index: cc/layers/layer.h |
diff --git a/cc/layers/layer.h b/cc/layers/layer.h |
index 99860870e3927d07713f2882163bbc33be2eaac7..99bb550023ab7056e476cf106ea4713b948962b0 100644 |
--- a/cc/layers/layer.h |
+++ b/cc/layers/layer.h |
@@ -25,12 +25,12 @@ |
#include "cc/layers/layer_position_constraint.h" |
#include "cc/layers/paint_properties.h" |
#include "cc/output/filter_operations.h" |
+#include "cc/paint/paint_record.h" |
#include "cc/trees/element_id.h" |
#include "cc/trees/mutator_host_client.h" |
#include "cc/trees/property_tree.h" |
#include "cc/trees/target_property.h" |
#include "third_party/skia/include/core/SkColor.h" |
-#include "third_party/skia/include/core/SkPicture.h" |
#include "ui/gfx/geometry/point3_f.h" |
#include "ui/gfx/geometry/rect.h" |
#include "ui/gfx/geometry/rect_f.h" |
@@ -328,7 +328,8 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> { |
virtual ScrollbarLayerInterface* ToScrollbarLayer(); |
- virtual sk_sp<SkPicture> GetPicture() const; |
+ // TODO(enne): rename this to PaintRecord |
+ virtual sk_sp<PaintRecord> GetPicture() const; |
// Constructs a LayerImpl of the correct runtime type for this Layer type. |
virtual std::unique_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl); |