summaryrefslogtreecommitdiff
path: root/Source/WebKit/win/FullscreenVideoController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/win/FullscreenVideoController.cpp')
-rw-r--r--Source/WebKit/win/FullscreenVideoController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/win/FullscreenVideoController.cpp b/Source/WebKit/win/FullscreenVideoController.cpp
index 203e229e3..f9dd6fcd3 100644
--- a/Source/WebKit/win/FullscreenVideoController.cpp
+++ b/Source/WebKit/win/FullscreenVideoController.cpp
@@ -422,7 +422,7 @@ void FullscreenVideoController::registerHUDWindowClass()
wcex.style = CS_HREDRAW | CS_VREDRAW;
wcex.lpfnWndProc = hudWndProc;
wcex.cbClsExtra = 0;
- wcex.cbWndExtra = 4;
+ wcex.cbWndExtra = sizeof(FullscreenVideoController*);
wcex.hInstance = gInstance;
wcex.hIcon = 0;
wcex.hCursor = LoadCursor(0, IDC_ARROW);