diff --git a/atom/browser/api/atom_api_web_contents.cc b/atom/browser/api/atom_api_web_contents.cc index 93c65e448f6..9f96ac0edf4 100644 --- a/atom/browser/api/atom_api_web_contents.cc +++ b/atom/browser/api/atom_api_web_contents.cc @@ -981,7 +981,7 @@ bool WebContents::OnMessageReceived(const IPC::Message& message) { bool handled = true; IPC_BEGIN_MESSAGE_MAP(WebContents, message) IPC_MESSAGE_HANDLER_CODE(ViewHostMsg_SetCursor, OnCursorChange, - handled = false) + handled = false) IPC_MESSAGE_UNHANDLED(handled = false) IPC_END_MESSAGE_MAP() diff --git a/atom/common/mouse_util.h b/atom/common/mouse_util.h index cdccde2e5e6..4a4d0638f01 100644 --- a/atom/common/mouse_util.h +++ b/atom/common/mouse_util.h @@ -18,7 +18,6 @@ #define IPC_MESSAGE_FORWARD_CODE(msg_class, obj, member_func, code) \ case msg_class::ID: { \ - TRACK_RUN_IN_THIS_SCOPED_REGION(member_func); \ if (!msg_class::Dispatch(&ipc_message__, obj, this, param__, \ &member_func)) \ ipc_message__.set_dispatch_error(); \