diff options
Diffstat (limited to 'cc/tiles/software_image_decode_controller.h')
| -rw-r--r-- | cc/tiles/software_image_decode_controller.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/tiles/software_image_decode_controller.h b/cc/tiles/software_image_decode_controller.h index 54d655e..4e959c7 100644 --- a/cc/tiles/software_image_decode_controller.h +++ b/cc/tiles/software_image_decode_controller.h @@ -33,6 +33,8 @@ class CC_EXPORT ImageDecodeControllerKey { public: static ImageDecodeControllerKey FromDrawImage(const DrawImage& image); + ImageDecodeControllerKey(const ImageDecodeControllerKey& other); + bool operator==(const ImageDecodeControllerKey& other) const { // The image_id always has to be the same. However, after that all original // decodes are the same, so if we can use the original decode, return true. |
