Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1922)

Unified Diff: content/renderer/gpu/render_widget_compositor.h

Issue 2929493002: Plumb PaintImage for the img.decode instead of SkImage. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/render_widget_compositor.h
diff --git a/content/renderer/gpu/render_widget_compositor.h b/content/renderer/gpu/render_widget_compositor.h
index 4640b385f2c832b506bde1f00c5dfa082a7f57bb..dfd4759f24560d4a616c433cc983d632dc67abbc 100644
--- a/content/renderer/gpu/render_widget_compositor.h
+++ b/content/renderer/gpu/render_widget_compositor.h
@@ -182,7 +182,7 @@ class CONTENT_EXPORT RenderWidgetCompositor
// TODO(ianwen): Move this method to WebLayerTreeView and implement main
// thread scrolling.
virtual void setBottomControlsHeight(float height);
- void RequestDecode(sk_sp<SkImage> image,
+ void RequestDecode(const PaintImage& image,
const base::Callback<void(bool)>& callback) override;
// cc::LayerTreeHostClient implementation.
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698