Merge GrOpList and GrRTOpList and rename to GrOpsTask.
Change-Id: I8f4f2218a30fd0541a8f79f7bb9850f9500cd243
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/236343
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
diff --git a/tools/mdbviz/Model.cpp b/tools/mdbviz/Model.cpp
index 3cb01f0..0243d00 100644
--- a/tools/mdbviz/Model.cpp
+++ b/tools/mdbviz/Model.cpp
@@ -21,7 +21,7 @@
}
Model::~Model() {
- this->resetOpList();
+ this->resetOpsTask();
}
Model::ErrorCode Model::load(const char* filename) {
@@ -42,7 +42,7 @@
temp->setPicture(pic.get());
pic->playback(temp.get());
temp->setPicture(nullptr);
- this->resetOpList();
+ this->resetOpsTask();
temp->detachCommands(&fOps);
}
@@ -105,7 +105,7 @@
canvas.restoreToCount(saveCount);
}
-void Model::resetOpList() {
+void Model::resetOpsTask() {
for (int i = 0; i < fOps.count(); ++i) {
delete fOps[i];
}