[Mac] Unreviewed test fix after r182584
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Apr 2015 05:38:02 +0000 (05:38 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Apr 2015 05:38:02 +0000 (05:38 +0000)
commitc70dde7128276e4ef50c83d6ee04a4b79a747197
treed9aaabfb4dcbbf153923abfc75eb6f3452133e81
parent44ca75cd2ba9a22b92ad5a7939bb04915715a5be
[Mac] Unreviewed test fix after r182584
https://bugs.webkit.org/show_bug.cgi?id=143452

Source/WebCore:

Correct bit comparison to use the correct value for the Control-key

* platform/mac/PlatformEventFactoryMac.mm:
(WebCore::typeForEvent):

Source/WebKit2:

Correct bit comparison to use the correct value for the Control-key

* Shared/mac/WebEventFactory.mm:
(WebKit::typeForEvent):

Tools:

Put both of these tests back to their original state now that the underlying
problem is fixed.

* TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp:
(TestWebKitAPI::TEST):
* TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm:
(TestWebKitAPI::TEST):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@182589 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/mac/PlatformEventFactoryMac.mm
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/mac/WebEventFactory.mm
Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebKit2/MenuTypesForMouseEvents.cpp
Tools/TestWebKitAPI/Tests/mac/MenuTypesForMouseEvents.mm