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 a00ce584eae3a4e5a813b379d29482e97210fc88..32fffed38e6f56c80054dfe80f24e5d975418cb6 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; |
} |
@@ -184,6 +187,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 |