Index: cc/layer_tree_host.h |
diff --git a/cc/layer_tree_host.h b/cc/layer_tree_host.h |
index 664c92aa610c196a35536a14ad2ea0f0bdacef28..67ac48c057bc6ea963419c4a5d34034bf2e5ae6c 100644 |
--- a/cc/layer_tree_host.h |
+++ b/cc/layer_tree_host.h |
@@ -24,7 +24,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) |
@@ -199,6 +201,8 @@ public: |
AnimationRegistrar* animationRegistrar() const { return m_animationRegistrar.get(); } |
+ skia::RefPtr<SkPicture> capturePicture(); |
+ |
protected: |
LayerTreeHost(LayerTreeHostClient*, const LayerTreeSettings&); |
bool initialize(scoped_ptr<Thread> implThread); |