summaryrefslogtreecommitdiffstats
path: root/chrome/views/widget/widget_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/widget/widget_win.cc')
-rw-r--r--chrome/views/widget/widget_win.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/views/widget/widget_win.cc b/chrome/views/widget/widget_win.cc
index 985ebe1..2db81e4 100644
--- a/chrome/views/widget/widget_win.cc
+++ b/chrome/views/widget/widget_win.cc
@@ -963,10 +963,8 @@ bool ProcessNativeControlMessage(UINT message,
HWND control_hwnd = GetControlHWNDForMessage(message, w_param, l_param);
if (IsWindow(control_hwnd)) {
NativeControlWin* wrapper = GetNativeControlWinForHWND(control_hwnd);
- if (wrapper) {
- *l_result = wrapper->ProcessMessage(message, w_param, l_param);
- return true;
- }
+ if (wrapper)
+ return wrapper->ProcessMessage(message, w_param, l_param, l_result);
}
return false;