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

Unified Diff: base/message_pump_win.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: base/message_pump_win.cc
===================================================================
--- base/message_pump_win.cc (revision 78053)
+++ base/message_pump_win.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -7,6 +7,7 @@
#include <math.h>
#include "base/metrics/histogram.h"
+#include "base/win/wrapped_window_proc.h"
namespace base {
@@ -232,7 +233,7 @@
WNDCLASSEX wc = {0};
wc.cbSize = sizeof(wc);
- wc.lpfnWndProc = WndProcThunk;
+ wc.lpfnWndProc = base::win::WrappedWindowProc<WndProcThunk>;
wc.hInstance = hinst;
wc.lpszClassName = kWndClass;
RegisterClassEx(&wc);
« no previous file with comments | « base/base.gypi ('k') | base/win/wrapped_window_proc.h » ('j') | base/win/wrapped_window_proc.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698