| Index: src/gpu/gl/GrGLContext.cpp
|
| diff --git a/src/gpu/gl/GrGLContext.cpp b/src/gpu/gl/GrGLContext.cpp
|
| index 5bc5b6f0312bd65b1e7fd6cf251f167595492c1e..537363493f87b9b62f19ba28c7f51e4cbc2fd196 100644
|
| --- a/src/gpu/gl/GrGLContext.cpp
|
| +++ b/src/gpu/gl/GrGLContext.cpp
|
| @@ -62,9 +62,7 @@ bool GrGLContextInfo::initialize(const GrGLInterface* interface) {
|
| return false;
|
| }
|
|
|
| -bool GrGLContextInfo::isInitialized() const {
|
| - return NULL != fInterface.get();
|
| -}
|
| +bool GrGLContextInfo::isInitialized() const { return SkToBool(fInterface.get()); }
|
|
|
| void GrGLContextInfo::reset() {
|
| fInterface.reset(NULL);
|
|
|