summaryrefslogtreecommitdiffstats
path: root/content/gpu
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 21:39:12 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 21:39:12 +0000
commit852d811c95841324ad424a14ebcf51b201efb317 (patch)
treebdc7d300f0b09488a50550b5b001cd3a1fb800c4 /content/gpu
parent2494be1a1ec915c8c6525b532e5973d25450a0c8 (diff)
downloadchromium_src-852d811c95841324ad424a14ebcf51b201efb317.zip
chromium_src-852d811c95841324ad424a14ebcf51b201efb317.tar.gz
chromium_src-852d811c95841324ad424a14ebcf51b201efb317.tar.bz2
GPU process: Add a SEH handler to the compositor window proc.
BUG=63702 TEST=none Review URL: http://codereview.chromium.org/6705017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79326 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/gpu')
-rw-r--r--content/gpu/gpu_command_buffer_stub.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/content/gpu/gpu_command_buffer_stub.cc b/content/gpu/gpu_command_buffer_stub.cc
index 5b917a6..2d0ec51 100644
--- a/content/gpu/gpu_command_buffer_stub.cc
+++ b/content/gpu/gpu_command_buffer_stub.cc
@@ -15,6 +15,10 @@
#include "content/gpu/gpu_watchdog_thread.h"
#include "gpu/common/gpu_trace_event.h"
+#if defined(OS_WIN)
+#include "base/win/wrapped_window_proc.h"
+#endif
+
using gpu::Buffer;
#if defined(OS_WIN)
@@ -95,7 +99,7 @@ bool GpuCommandBufferStub::CreateCompositorWindow() {
WNDCLASSEX wcex;
wcex.cbSize = sizeof(wcex);
wcex.style = 0;
- wcex.lpfnWndProc = CompositorWindowProc;
+ wcex.lpfnWndProc = base::win::WrappedWindowProc<CompositorWindowProc>;
wcex.cbClsExtra = 0;
wcex.cbWndExtra = 0;
wcex.hInstance = GetModuleHandle(NULL);