Chromium Code Reviews

Unified Diff: views/controls/native/native_view_host_wrapper.h

Issue 118025: Fix a memory leak... the wrapped platform helper isn't a view, so it's not au... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « views/controls/native/native_view_host.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/native/native_view_host_wrapper.h
===================================================================
--- views/controls/native/native_view_host_wrapper.h (revision 17205)
+++ views/controls/native/native_view_host_wrapper.h (working copy)
@@ -14,6 +14,8 @@
// native view when attached, detached, moved and sized.
class NativeViewHostWrapper {
public:
+ virtual ~NativeViewHostWrapper() {}
+
// Called when a gfx::NativeView has been attached to the associated
// NativeViewHost, allowing the wrapper to perform platform-specific
// initialization.
« no previous file with comments | « views/controls/native/native_view_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine