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

Unified Diff: cc/paint/draw_image.cc

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 | « cc/paint/draw_image.h ('k') | cc/test/fake_layer_tree_host_impl_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/draw_image.cc
diff --git a/cc/paint/draw_image.cc b/cc/paint/draw_image.cc
index 6ffb3ae839b95d4fce420eed185b2d98e54c22e6..c0505d97c86387cd83b93944ca06c3798d7eeef7 100644
--- a/cc/paint/draw_image.cc
+++ b/cc/paint/draw_image.cc
@@ -46,4 +46,12 @@ DrawImage::DrawImage(const DrawImage& other) = default;
DrawImage::~DrawImage() = default;
+bool DrawImage::operator==(const DrawImage& other) const {
+ return paint_image_ == other.paint_image_ && src_rect_ == other.src_rect_ &&
+ filter_quality_ == other.filter_quality_ && matrix_ == other.matrix_ &&
+ scale_ == other.scale_ &&
+ matrix_is_decomposable_ == other.matrix_is_decomposable_ &&
+ target_color_space_ == other.target_color_space_;
+}
+
} // namespace cc
« no previous file with comments | « cc/paint/draw_image.h ('k') | cc/test/fake_layer_tree_host_impl_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698