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

Unified Diff: cc/blink/web_image_layer_impl.h

Issue 2835373003: Plumb PaintImage to the PictureImageLayer. (Closed)
Patch Set: update Created 3 years, 8 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 | « no previous file | cc/blink/web_image_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_image_layer_impl.h
diff --git a/cc/blink/web_image_layer_impl.h b/cc/blink/web_image_layer_impl.h
index a6c3452e410b779577259a02fae60695ea83face..934bdfa1d97f52e32fbd1c680a259fb05e267436 100644
--- a/cc/blink/web_image_layer_impl.h
+++ b/cc/blink/web_image_layer_impl.h
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "cc/blink/cc_blink_export.h"
+#include "cc/paint/paint_image.h"
#include "third_party/WebKit/public/platform/WebImageLayer.h"
namespace cc_blink {
@@ -22,7 +23,7 @@ class WebImageLayerImpl : public blink::WebImageLayer {
// blink::WebImageLayer implementation.
blink::WebLayer* Layer() override;
- void SetImage(const SkImage* image) override;
+ void SetImage(cc::PaintImage image) override;
void SetNearestNeighbor(bool nearest_neighbor) override;
private:
« no previous file with comments | « no previous file | cc/blink/web_image_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698