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

Unified Diff: views/controls/native_control_win.cc

Issue 115553: Remove TRACK_HWND_CREATION/TRACK_HWND_DESTRUCTION macro since the bug it was ... (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. 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 | « views/controls/native_control.cc ('k') | views/controls/text_field.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/native_control_win.cc
===================================================================
--- views/controls/native_control_win.cc (revision 16444)
+++ views/controls/native_control_win.cc (working copy)
@@ -112,8 +112,6 @@
}
void NativeControlWin::NativeControlCreated(HWND native_control) {
- TRACK_HWND_CREATION(native_control);
-
// Associate this object with the control's HWND so that WidgetWin can find
// this object when it receives messages from it.
SetProp(native_control, kNativeControlWinKey, this);
@@ -191,7 +189,6 @@
} else if (message == WM_DESTROY) {
win_util::SetWindowProc(window, native_control->original_wndproc_);
RemoveProp(window, kNativeControlWinKey);
- TRACK_HWND_DESTRUCTION(window);
}
return CallWindowProc(native_control->original_wndproc_, window, message,
« no previous file with comments | « views/controls/native_control.cc ('k') | views/controls/text_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698