aboutsummaryrefslogtreecommitdiffhomepage
path: root/debugger/QT/SkGLWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debugger/QT/SkGLWidget.cpp')
-rw-r--r--debugger/QT/SkGLWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/debugger/QT/SkGLWidget.cpp b/debugger/QT/SkGLWidget.cpp
index 98874d280d..f80ffaf848 100644
--- a/debugger/QT/SkGLWidget.cpp
+++ b/debugger/QT/SkGLWidget.cpp
@@ -27,7 +27,7 @@ void SkGLWidget::setSampleCount(int sampleCount) {
void SkGLWidget::initializeGL() {
if (!fCurIntf) {
- fCurIntf.reset(GrGLCreateNativeInterface());
+ fCurIntf = GrGLMakeNativeInterface();
}
if (!fCurIntf) {
return;