File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ class WebView2Instance {
9696 WebView2Instance* instance;
9797 public:
9898 TitleChangedHandler (WebView2Instance* inst) : refCount(1 ), instance(inst) {}
99+ virtual ~TitleChangedHandler () = default ;
99100
100101 HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, void ** ppvObject) override {
101102 if (!ppvObject) return E_POINTER;
@@ -175,6 +176,7 @@ class WebView2Instance {
175176 WebView2Instance* instance;
176177 public:
177178 ControllerCompletedHandler (WebView2Instance* inst) : refCount(1 ), instance(inst) {}
179+ virtual ~ControllerCompletedHandler () = default ;
178180
179181 HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, void ** ppvObject) override {
180182 if (!ppvObject) return E_POINTER;
@@ -251,6 +253,7 @@ class WebView2Instance {
251253 WebView2Instance* instance;
252254 public:
253255 EnvironmentCompletedHandler (WebView2Instance* inst) : refCount(1 ), instance(inst) {}
256+ virtual ~EnvironmentCompletedHandler () = default ;
254257
255258 HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, void ** ppvObject) override {
256259 if (!ppvObject) return E_POINTER;
You can’t perform that action at this time.
0 commit comments