Do not handle ViewHostMsg_SetCursor in WebContents 10/147310/3
authorSanghyup Lee <sh53.lee@samsung.com>
Mon, 4 Sep 2017 02:25:31 +0000 (02:25 +0000)
committerSanghyup Lee <sh53.lee@samsung.com>
Tue, 5 Sep 2017 05:00:54 +0000 (05:00 +0000)
Due to stach_chk_fail crash.

Change-Id: I91b5d52e341fab1f1ae95d78c996ba181bfbdd9b
Signed-off-by: Sanghyup Lee <sh53.lee@samsung.com>
atom/browser/api/atom_api_web_contents.cc

index fc3a559..8c473c5 100644 (file)
@@ -907,8 +907,10 @@ bool WebContents::OnMessageReceived(const IPC::Message& message) {
                                     OnSetTemporaryZoomLevel)
     IPC_MESSAGE_HANDLER_DELAY_REPLY(AtomViewHostMsg_GetZoomLevel,
                                     OnGetZoomLevel)
-    IPC_MESSAGE_HANDLER_CODE(ViewHostMsg_SetCursor, OnCursorChange,
-      handled = false)
+
+    // FIXME: Disable OnCursorChange due to stach_chk_fail crash.
+    // IPC_MESSAGE_HANDLER_CODE(ViewHostMsg_SetCursor, OnCursorChange,
+    //   handled = false)
     IPC_MESSAGE_UNHANDLED(handled = false)
   IPC_END_MESSAGE_MAP()