| OLD | NEW | 
|    1  |    1  | 
|    2 /* |    2 /* | 
|    3  * Copyright 2013 Google Inc. |    3  * Copyright 2013 Google Inc. | 
|    4  * |    4  * | 
|    5  * Use of this source code is governed by a BSD-style license that can be |    5  * Use of this source code is governed by a BSD-style license that can be | 
|    6  * found in the LICENSE file. |    6  * found in the LICENSE file. | 
|    7  */ |    7  */ | 
|    8 #include "gl/SkGLContextHelper.h" |    8 #include "gl/SkGLContextHelper.h" | 
|    9 #include "GrGLUtil.h" |    9 #include "GrGLUtil.h" | 
|   10  |   10  | 
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  129             this->destroyGLContext(); |  129             this->destroyGLContext(); | 
|  130             return false; |  130             return false; | 
|  131         } else { |  131         } else { | 
|  132             return true; |  132             return true; | 
|  133         } |  133         } | 
|  134     } |  134     } | 
|  135     return false; |  135     return false; | 
|  136 } |  136 } | 
|  137  |  137  | 
|  138 void SkGLContextHelper::testAbandon() { |  138 void SkGLContextHelper::testAbandon() { | 
|  139     if (NULL != fGL) { |  139     if (fGL) { | 
|  140         fGL->abandon(); |  140         fGL->abandon(); | 
|  141     } |  141     } | 
|  142 } |  142 } | 
| OLD | NEW |