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

Unified Diff: cc/paint/image_id.h

Issue 2857923004: cc: Keep PaintImage in DrawImage. (Closed)
Patch Set: .. Created 3 years, 7 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.cc ('k') | cc/paint/paint_image.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/image_id.h
diff --git a/cc/paint/image_id.h b/cc/paint/image_id.h
index 0ffaafd782fb20f6869f84cb96f1cf593e212bcb..015d6616eea649a1f94a5dc08e51cf5fe35d7485 100644
--- a/cc/paint/image_id.h
+++ b/cc/paint/image_id.h
@@ -9,11 +9,16 @@
#include <unordered_set>
#include "base/containers/flat_set.h"
+#include "cc/paint/paint_image.h"
namespace cc {
-using ImageId = uint32_t;
-using ImageIdFlatSet = base::flat_set<ImageId>;
+using PaintImageIdFlatSet = base::flat_set<PaintImage::Id>;
+
+// TODO(khushalsagar): These are only used by the hijack canvas since it uses
+// an SkCanvas to replace images. Remove once that moves to PaintOpBuffer.
+using SkImageId = uint32_t;
+using SkImageIdFlatSet = base::flat_set<SkImageId>;
} // namespace cc
« no previous file with comments | « cc/paint/draw_image.cc ('k') | cc/paint/paint_image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698