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

Unified Diff: ui/views/controls/textfield/native_textfield_win.h

Issue 11973011: Fixes leak of NativeTextfieldWin. The underlying HWND was getting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « no previous file | ui/views/controls/textfield/native_textfield_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/native_textfield_win.h
diff --git a/ui/views/controls/textfield/native_textfield_win.h b/ui/views/controls/textfield/native_textfield_win.h
index eca2358cd9e9b117c49daffb9a0ff63fcab53c03..f9b8f268b56b3bec516feea334c4e5acfd709a01 100644
--- a/ui/views/controls/textfield/native_textfield_win.h
+++ b/ui/views/controls/textfield/native_textfield_win.h
@@ -219,6 +219,9 @@ class NativeTextfieldWin
void OnKillFocus(HWND hwnd);
void OnSysChar(TCHAR ch, UINT repeat_count, UINT flags);
+ // CWindowImpl overrides:
+ virtual void OnFinalMessage(HWND hwnd) OVERRIDE;
+
// Helper function for OnChar() and OnKeyDown() that handles keystrokes that
// could change the text in the edit.
// Note: This function assumes GetCurrentMessage() returns a MSG with
« no previous file with comments | « no previous file | ui/views/controls/textfield/native_textfield_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698