Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Unified Diff: tools/viewer/sk_app/win/Window_win.h

Issue 2184163003: Enable backend switching for Windows Viewer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Delete extra glMakeCurrent Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/viewer/sk_app/win/GLWindowContext_win.cpp ('k') | tools/viewer/sk_app/win/Window_win.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/viewer/sk_app/win/Window_win.h
diff --git a/tools/viewer/sk_app/win/Window_win.h b/tools/viewer/sk_app/win/Window_win.h
index 19541a0aa882a782fb1ec3ff49b6ed967a739555..a400618e771ab5638ccadf4ab7434198e3c96989 100644
--- a/tools/viewer/sk_app/win/Window_win.h
+++ b/tools/viewer/sk_app/win/Window_win.h
@@ -16,7 +16,7 @@ namespace sk_app {
class Window_win : public Window {
public:
Window_win() : Window() {}
- ~Window_win() override {}
+ ~Window_win() override { DestroyWindow(fHWnd); }
bool init(HINSTANCE instance);
« no previous file with comments | « tools/viewer/sk_app/win/GLWindowContext_win.cpp ('k') | tools/viewer/sk_app/win/Window_win.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698