Index: ui/gfx/win/hwnd_util.cc |
diff --git a/ui/gfx/win/hwnd_util.cc b/ui/gfx/win/hwnd_util.cc |
index 050aa9b733f0be41796de2e034520d90756caae4..41eead48f8d9809b76664cee6d040f27f0efa571 100644 |
--- a/ui/gfx/win/hwnd_util.cc |
+++ b/ui/gfx/win/hwnd_util.cc |
@@ -112,7 +112,7 @@ void* SetWindowUserData(HWND hwnd, void* user_data) { |
void* GetWindowUserData(HWND hwnd) { |
DWORD process_id = 0; |
- DWORD thread_id = GetWindowThreadProcessId(hwnd, &process_id); |
+ GetWindowThreadProcessId(hwnd, &process_id); |
// A window outside the current process needs to be ignored. |
if (process_id != ::GetCurrentProcessId()) |
return NULL; |