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

Unified Diff: base/window_impl.cc

Issue 174029: Reverting 23645. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 4 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 | « base/window_impl.h ('k') | views/controls/native_control.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/window_impl.cc
===================================================================
--- base/window_impl.cc (revision 23672)
+++ base/window_impl.cc (working copy)
@@ -155,15 +155,8 @@
// Handle the message if it's in our message map; otherwise, let the system
// handle it.
if (!ProcessWindowMessage(hwnd_, message, w_param, l_param, result))
- result = DefWindowProc(hwnd_, message, w_param, l_param);
+ result = DefWindowProc(hwnd_, message, w_param, l_param);
- if (message == WM_NCDESTROY) {
- // Notify the subclass that this is the last message before the window
- // is destroyed.
- OnFinalMessage(hwnd_);
- hwnd_ = NULL;
- }
-
return result;
}
« no previous file with comments | « base/window_impl.h ('k') | views/controls/native_control.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698