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

Unified Diff: cc/paint/draw_image.h

Issue 2924233002: cc: Move pre-decodes to background worker. (Closed)
Patch Set: flake is flaky. T_T 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 | « no previous file | cc/paint/draw_image.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/draw_image.h
diff --git a/cc/paint/draw_image.h b/cc/paint/draw_image.h
index fe84f0606ef34572cf1332ff490c68e02a489a42..8f202b1d6290c7809f68add390fdc55bba1952ca 100644
--- a/cc/paint/draw_image.h
+++ b/cc/paint/draw_image.h
@@ -30,6 +30,8 @@ class CC_PAINT_EXPORT DrawImage {
DrawImage(const DrawImage& other);
~DrawImage();
+ bool operator==(const DrawImage& other) const;
+
const PaintImage& paint_image() const { return paint_image_; }
const sk_sp<SkImage>& image() const { return paint_image_.sk_image(); }
const SkSize& scale() const { return scale_; }
« no previous file with comments | « no previous file | cc/paint/draw_image.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698