Index: cc/layer_tree_host.h |
diff --git a/cc/layer_tree_host.h b/cc/layer_tree_host.h |
index 95766e342c4fb8b72c3ae916122a6da4e712e756..fb46c5d3663c513d06bdc2c9566d82cb5c2373cb 100644 |
--- a/cc/layer_tree_host.h |
+++ b/cc/layer_tree_host.h |
@@ -25,7 +25,9 @@ |
#include "cc/rate_limiter.h" |
#include "cc/rendering_stats.h" |
#include "cc/scoped_ptr_vector.h" |
+#include "skia/ext/refptr.h" |
#include "third_party/skia/include/core/SkColor.h" |
+#include "third_party/skia/include/core/SkPicture.h" |
#include "ui/gfx/rect.h" |
#if defined(COMPILER_GCC) |
@@ -201,6 +203,8 @@ public: |
AnimationRegistrar* animationRegistrar() const { return m_animationRegistrar.get(); } |
+ skia::RefPtr<SkPicture> capturePicture(); |
+ |
protected: |
LayerTreeHost(LayerTreeHostClient*, const LayerTreeSettings&); |
bool initialize(scoped_ptr<Thread> implThread); |