Index: src/gpu/GrContextFactory.h |
diff --git a/src/gpu/GrContextFactory.h b/src/gpu/GrContextFactory.h |
index 353e3d9c96ada7ec5dff59d7487008b63219187c..7fd4b77ce0bb2f7e4c6f31c8a4bce5ace05cc540 100644 |
--- a/src/gpu/GrContextFactory.h |
+++ b/src/gpu/GrContextFactory.h |
@@ -9,6 +9,7 @@ |
#define GrContextFactory_DEFINED |
#include "GrContext.h" |
+#include "GrContextOptions.h" |
#include "gl/SkGLContext.h" |
#include "SkTArray.h" |
@@ -80,7 +81,7 @@ public: |
} |
} |
- explicit GrContextFactory(const GrContext::Options& opts) : fGlobalOptions(opts) { } |
+ explicit GrContextFactory(const GrContextOptions& opts) : fGlobalOptions(opts) { } |
GrContextFactory() { } |
~GrContextFactory() { this->destroyContexts(); } |
@@ -126,7 +127,7 @@ public: |
return NULL; |
} |
- const GrContext::Options& getGlobalOptions() const { return fGlobalOptions; } |
+ const GrContextOptions& getGlobalOptions() const { return fGlobalOptions; } |
private: |
struct GPUContext { |
@@ -135,7 +136,7 @@ private: |
GrContext* fGrContext; |
}; |
SkTArray<GPUContext, true> fContexts; |
- const GrContext::Options fGlobalOptions; |
+ const GrContextOptions fGlobalOptions; |
}; |
#endif |