Commit 494f148c authored by mitz@apple.com's avatar mitz@apple.com

- fix the Tiger build

        * page/mac/EventHandlerMac.mm:
        (method_setImplementation):



git-svn-id: svn://svn.chromium.org/blink/trunk@42712 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 2808a8bd
2009-04-21 Dan Bernstein <mitz@apple.com>
- fix the Tiger build
* page/mac/EventHandlerMac.mm:
(method_setImplementation):
2009-04-21 Laszlo Gombos <laszlo.1.gombos@nokia.com>
Reviewed by Sam Weinig.
......@@ -46,6 +46,15 @@
#include <objc/objc-runtime.h>
#include <wtf/StdLibExtras.h>
#if !(defined(OBJC_API_VERSION) && OBJC_API_VERSION > 0)
static inline IMP method_setImplementation(Method m, IMP i)
{
IMP oi = m->method_imp;
m->method_imp = i;
return oi;
}
#endif
namespace WebCore {
const double EventHandler::TextDragDelay = 0.15;
......
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