Resource usage overlay should ignore mouse events outside bounds by default
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Feb 2017 17:49:18 +0000 (17:49 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Feb 2017 17:49:18 +0000 (17:49 +0000)
commit8191134b199ab2283bb90314050526a15cc58991
tree94ad5c634d9a56ea69bd25c64b70fb25542e6c08
parent29a040cad221950f1ffac17ba666faae98ee3d5f
Resource usage overlay should ignore mouse events outside bounds by default
https://bugs.webkit.org/show_bug.cgi?id=167874

Reviewed by Andreas Kling.

It's overriding the default causing that the first click after the overlay is shown is always handled by the
overlay even when clicked outside bounds. It should only be set false while dragging.

* page/ResourceUsageOverlay.cpp:
(WebCore::ResourceUsageOverlay::initialize):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@211733 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/page/ResourceUsageOverlay.cpp