| Index: src/gpu/GrContext.cpp
|
| diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
|
| index c17144644018add3af3a9f4146dee8263b59db10..6a35ed9d26fc78aa7fcd1c7d2dd765306589a1b2 100755
|
| --- a/src/gpu/GrContext.cpp
|
| +++ b/src/gpu/GrContext.cpp
|
| @@ -175,12 +175,7 @@ GrContext::~GrContext() {
|
| fDrawState->unref();
|
| }
|
|
|
| -void GrContext::contextLost() {
|
| - this->contextDestroyed();
|
| - this->setupDrawBuffer();
|
| -}
|
| -
|
| -void GrContext::contextDestroyed() {
|
| +void GrContext::abandonContext() {
|
| // abandon first to so destructors
|
| // don't try to free the resources in the API.
|
| fGpu->abandonResources();
|
|
|