Commit 2e67c024 authored by weinig@apple.com's avatar weinig@apple.com

2008-06-29 Sam Weinig <sam@webkit.org>

        Fix Tiger build.

        * DumpRenderTree/mac/EventSendingController.mm:
        (eventTypeForMouseButtonAndAction):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 603e4d12
2008-06-29 Sam Weinig <sam@webkit.org>
Fix Tiger build.
* DumpRenderTree/mac/EventSendingController.mm:
(eventTypeForMouseButtonAndAction):
2008-06-27 Eric Seidel <eric@webkit.org>
Reviewed by darin.
......
......@@ -204,7 +204,7 @@ BOOL replayingSavedEvents;
static NSEventType eventTypeForMouseButtonAndAction(int button, MouseAction action)
{
switch(button) {
switch (button) {
case LeftMouseButton:
switch (action) {
case MouseDown:
......@@ -234,7 +234,7 @@ static NSEventType eventTypeForMouseButtonAndAction(int button, MouseAction acti
}
}
assert(0);
return 0;
return static_cast<NSEventType>(0);
}
- (void)updateClickCountForButton:(int)buttonNumber
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment