commit | cd09887d2ae23c6d7b2fe0d71365ad6fc6463141 | [log] [tgz] |
---|---|---|
author | Daniel Bratell <bratell@opera.com> | Fri Apr 13 19:10:26 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Apr 13 19:10:26 2018 |
tree | 8d9b08e1ba5e0af6fa070ac8154fcaf25399fc2a | |
parent | dc9987c830da0701aea0311e56fadb5b104a277a [diff] |
Avoid redefining IsMsgHandled by making all Win message handlers safe There were two sets of message map macros, one with IsMsgHandled as a function, one with it as a macro. If combined in some translation unit that could cause compilation problems, and it did in some Opera builds. This patch changes the code so that there is only one implementation of the macros and it's the "safe" one, where "safe" means that it can handle that the underlying object is deleted inside a message handler without crashing. Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: I2f039d8d93a539c8322caa664e642956c5d6d372 Reviewed-on: https://chromium-review.googlesource.com/995896 Reviewed-by: Scott Violet <sky@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#550711}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .