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

Unified Diff: ui/base/win/window_impl.cc

Issue 6697004: Add an exception wrapper to the WindowProc functions so... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 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
Index: ui/base/win/window_impl.cc
===================================================================
--- ui/base/win/window_impl.cc (revision 78053)
+++ ui/base/win/window_impl.cc (working copy)
@@ -6,9 +6,10 @@
#include <list>
-#include "ui/base/win/hwnd_util.h"
#include "base/singleton.h"
#include "base/string_number_conversions.h"
+#include "base/win/wrapped_window_proc.h"
+#include "ui/base/win/hwnd_util.h"
namespace ui {
@@ -209,7 +210,7 @@
WNDCLASSEX class_ex;
class_ex.cbSize = sizeof(WNDCLASSEX);
class_ex.style = class_info.style;
- class_ex.lpfnWndProc = &WindowImpl::WndProc;
+ class_ex.lpfnWndProc = base::win::WrappedWindowProc<&WindowImpl::WndProc>;
class_ex.cbClsExtra = 0;
class_ex.cbWndExtra = 0;
class_ex.hInstance = NULL;

Powered by Google App Engine
This is Rietveld 408576698