| Index: include/gpu/GrDrawContext.h
|
| diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h
|
| index 641824754312f41f8f60371eab9c25ca1f8b38dc..21977bed7415eb64459a607e3a52c2a5f20b6112 100644
|
| --- a/include/gpu/GrDrawContext.h
|
| +++ b/include/gpu/GrDrawContext.h
|
| @@ -12,6 +12,7 @@
|
| #include "GrRenderTarget.h"
|
| #include "SkRefCnt.h"
|
| #include "SkSurfaceProps.h"
|
| +#include "../private/GrSingleOwner.h"
|
|
|
| class GrClip;
|
| class GrContext;
|
| @@ -306,6 +307,9 @@ private:
|
| GrTextContext* fTextContext; // lazily gotten from GrContext::DrawingManager
|
|
|
| SkSurfaceProps fSurfaceProps;
|
| +
|
| + // In debug builds we guard against improper thread handling
|
| + SkDEBUGCODE(mutable GrSingleOwner fSingleOwner;)
|
| };
|
|
|
| #endif
|
|
|