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

Unified Diff: cc/raster/task.cc

Issue 2631453002: Revert of cc: Add image decode queue functionality to image manager. (Closed)
Patch Set: Created 3 years, 11 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/raster/task.h ('k') | cc/test/fake_layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/task.cc
diff --git a/cc/raster/task.cc b/cc/raster/task.cc
index 94486fd523a41812647ec939fcf0c0d6e27c7f78..94e413f46d8cbf6df6d1631aaca7e3ab51d9a381 100644
--- a/cc/raster/task.cc
+++ b/cc/raster/task.cc
@@ -18,10 +18,6 @@
"CANCELED state.";
}
-bool TaskState::IsNew() const {
- return value_ == Value::NEW;
-}
-
bool TaskState::IsScheduled() const {
return value_ == Value::SCHEDULED;
}
@@ -40,23 +36,6 @@
void TaskState::Reset() {
value_ = Value::NEW;
-}
-
-std::string TaskState::ToString() const {
- switch (value_) {
- case Value::NEW:
- return "NEW";
- case Value::SCHEDULED:
- return "SCHEDULED";
- case Value::RUNNING:
- return "RUNNING";
- case Value::FINISHED:
- return "FINISHED";
- case Value::CANCELED:
- return "CANCELED";
- }
- NOTREACHED();
- return "";
}
void TaskState::DidSchedule() {
« no previous file with comments | « cc/raster/task.h ('k') | cc/test/fake_layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698