Index: src/gpu/batches/GrDrawBatch.h |
diff --git a/src/gpu/batches/GrDrawBatch.h b/src/gpu/batches/GrDrawBatch.h |
index ed33816603e7eefbc35d0096d0eee9f94e6e233f..f7c206d1243a713115b5513a5b5f60ec49685971 100644 |
--- a/src/gpu/batches/GrDrawBatch.h |
+++ b/src/gpu/batches/GrDrawBatch.h |
@@ -64,12 +64,12 @@ public: |
SkString dumpInfo() const override { |
SkString string; |
string.append("ColorStages:\n"); |
- for (int i = 0; i < this->pipeline()->numColorFragmentStages(); i++) { |
- string.appendf("\t\t%s\n", this->pipeline()->getColorStage(i).processor()->name()); |
+ for (int i = 0; i < this->pipeline()->numColorFragmentProcessors(); i++) { |
+ string.appendf("\t\t%s\n", this->pipeline()->getColorFragmentProcessor(i).name()); |
} |
string.append("CoverageStages:\n"); |
- for (int i = 0; i < this->pipeline()->numCoverageFragmentStages(); i++) { |
- string.appendf("\t%s\n", this->pipeline()->getCoverageStage(i).processor()->name()); |
+ for (int i = 0; i < this->pipeline()->numCoverageFragmentProcessors(); i++) { |
+ string.appendf("\t%s\n", this->pipeline()->getCoverageFragmentProcessor(i).name()); |
} |
string.appendf("XP: %s\n", this->pipeline()->getXferProcessor()->name()); |
return string; |