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

Unified Diff: cc/tiles/software_image_decode_controller.h

Issue 1760053002: cc: ImageDecodes: Cleanup CanHandleImage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/tiles/software_image_decode_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/software_image_decode_controller.h
diff --git a/cc/tiles/software_image_decode_controller.h b/cc/tiles/software_image_decode_controller.h
index 0367db78e17252ff2c06b5effbd761f9e480d9c8..72e0bf658b4e57a4e4796a64dce421890b8163bb 100644
--- a/cc/tiles/software_image_decode_controller.h
+++ b/cc/tiles/software_image_decode_controller.h
@@ -200,8 +200,7 @@ class CC_EXPORT SoftwareImageDecodeController : public ImageDecodeController {
// exception of possibly prerolling them). Over time these should return
// "false" in less cases, as the ImageDecodeController should start handling
// more of them.
- bool CanHandleImage(const ImageKey& key, const DrawImage& image);
- bool CanHandleFilterQuality(SkFilterQuality filter_quality);
+ bool CanHandleImage(const ImageKey& key);
std::unordered_map<ImageKey, scoped_refptr<ImageDecodeTask>, ImageKeyHash>
pending_image_tasks_;
« no previous file with comments | « no previous file | cc/tiles/software_image_decode_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698