Chromium Code Reviews| Index: src/gpu/GrContext.cpp |
| diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
| index bd4ca40a34b05139fa2ea39565c447bc07255456..ea52ee6e98150d914e605fb8f71291e68e6f699c 100644 |
| --- a/src/gpu/GrContext.cpp |
| +++ b/src/gpu/GrContext.cpp |
| @@ -118,14 +118,15 @@ GrContext::~GrContext() { |
| void GrContext::abandonContext() { |
| fResourceProvider->abandon(); |
| + |
| + fDrawingManager->abandon(); |
|
joshualitt
2015/11/12 20:48:55
if moving this is intentional, maybe leave a comme
robertphillips
2015/11/13 12:41:40
Done.
|
| + |
| // abandon first to so destructors |
| // don't try to free the resources in the API. |
| fResourceCache->abandonAll(); |
| fGpu->contextAbandoned(); |
| - fDrawingManager->abandon(); |
| - |
| fBatchFontCache->freeAll(); |
| fLayerCache->freeAll(); |
| fTextBlobCache->freeAll(); |