Index: src/gpu/GrRectBatch.cpp |
diff --git a/src/gpu/GrRectBatch.cpp b/src/gpu/GrRectBatch.cpp |
index 5ef5591489c898d25d0f9eac20f95ec956e8ae5f..efb45de8e14fc4803b08a3899fded5ce28cf6a62 100644 |
--- a/src/gpu/GrRectBatch.cpp |
+++ b/src/gpu/GrRectBatch.cpp |
@@ -175,9 +175,7 @@ private: |
The vertex attrib order is always pos, color, [local coords]. |
*/ |
const GrGeometryProcessor* createRectGP() { |
- typedef GrDefaultGeoProcFactory::Color Color; |
- typedef GrDefaultGeoProcFactory::Coverage Coverage; |
- typedef GrDefaultGeoProcFactory::LocalCoords LocalCoords; |
+ using namespace GrDefaultGeoProcFactory; |
Color color(Color::kAttribute_Type); |
Coverage coverage(this->coverageIgnored() ? Coverage::kNone_Type : Coverage::kSolid_Type); |