Index: include/gpu/GrContext.h |
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h |
index a98cf0bf91abee1a5c04066fb106c4fdf28dd54a..8ff108e2a1c098cc0430c9d7d2cc51c4448fb135 100644 |
--- a/include/gpu/GrContext.h |
+++ b/include/gpu/GrContext.h |
@@ -180,8 +180,8 @@ public: |
* |
* @return a draw context |
*/ |
- GrDrawContext* drawContext(const SkDeviceProperties* devProps = NULL) { |
- return fDrawingMgr.drawContext(devProps); |
+ GrDrawContext* drawContext(const SkSurfaceProps* surfaceProps = NULL) { |
+ return fDrawingMgr.drawContext(surfaceProps); |
} |
/////////////////////////////////////////////////////////////////////////// |
@@ -419,7 +419,7 @@ private: |
// Callers should take a ref if they rely on the GrDrawContext sticking around. |
// NULL will be returned if the context has been abandoned. |
- GrDrawContext* drawContext(const SkDeviceProperties* devProps); |
+ GrDrawContext* drawContext(const SkSurfaceProps* surfaceProps); |
private: |
void cleanup(); |