Index: src/gpu/GrTest.cpp |
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp |
index aafb0b975a5b01f2d0e65b9d167f71d7e7e0d311..4adc3f7b7b770585a34e92729b3efe509c4c60e9 100644 |
--- a/src/gpu/GrTest.cpp |
+++ b/src/gpu/GrTest.cpp |
@@ -288,7 +288,7 @@ void GrContext::initMockContext() { |
SkASSERT(nullptr == fGpu); |
fGpu = new MockGpu(this, options); |
SkASSERT(fGpu); |
- this->initCommon(); |
+ this->initCommon(options); |
// We delete these because we want to test the cache starting with zero resources. Also, none of |
// these objects are required for any of tests that use this context. TODO: make stop allocating |