Index: third_party/WebKit/public/platform/WebLayerTreeView.h |
diff --git a/third_party/WebKit/public/platform/WebLayerTreeView.h b/third_party/WebKit/public/platform/WebLayerTreeView.h |
index 35b27082dddb4fc3bc8fa7e55b632f92cdfa2d4f..c8cfa3cb6a35c9c4b7c90d78283c710bd1f88da6 100644 |
--- a/third_party/WebKit/public/platform/WebLayerTreeView.h |
+++ b/third_party/WebKit/public/platform/WebLayerTreeView.h |
@@ -35,6 +35,9 @@ |
#include "WebSize.h" |
#include "cc/surfaces/frame_sink_id.h" |
+#include "third_party/skia/include/core/SkImage.h" |
+#include "third_party/skia/include/core/SkRefCnt.h" |
+ |
namespace cc { |
class AnimationHost; |
} |
@@ -181,6 +184,9 @@ class WebLayerTreeView { |
// Toggles scroll bottleneck rects on the HUD layer |
virtual void SetShowScrollBottleneckRects(bool) {} |
+ |
+ virtual void RequestDecode(sk_sp<SkImage> image, |
+ const base::Callback<void(bool)>& callback) {} |
}; |
} // namespace blink |