Index: src/views/unix/SkOSWindow_Unix.cpp |
diff --git a/src/views/unix/SkOSWindow_Unix.cpp b/src/views/unix/SkOSWindow_Unix.cpp |
index 1c288f4be824222dbf660d92d8e56ed5dd44e41a..7833bbe2c05a5f1625a7a7cc9c45234851f3286d 100644 |
--- a/src/views/unix/SkOSWindow_Unix.cpp |
+++ b/src/views/unix/SkOSWindow_Unix.cpp |
@@ -47,7 +47,7 @@ SkOSWindow::~SkOSWindow() { |
void SkOSWindow::internalCloseWindow() { |
if (fUnixWindow.fDisplay) { |
- this->detach(); |
+ this->release(); |
SkASSERT(fUnixWindow.fGc); |
XFreeGC(fUnixWindow.fDisplay, fUnixWindow.fGc); |
fUnixWindow.fGc = nullptr; |
@@ -378,7 +378,7 @@ bool SkOSWindow::attach(SkBackEndTypes, int msaaSampleCount, AttachmentInfo* inf |
return true; |
} |
-void SkOSWindow::detach() { |
+void SkOSWindow::release() { |
if (nullptr == fUnixWindow.fDisplay || nullptr == fUnixWindow.fGLContext) { |
return; |
} |