| Index: Source/core/input/InputDevice.cpp
|
| diff --git a/Source/core/input/InputDevice.cpp b/Source/core/input/InputDevice.cpp
|
| index 927a99c2a8ae068f6c77990e51671edd9e94ece9..6121c1908c84903aaaafded9e8cd9607b2ebf87a 100644
|
| --- a/Source/core/input/InputDevice.cpp
|
| +++ b/Source/core/input/InputDevice.cpp
|
| @@ -21,4 +21,16 @@ InputDevice::~InputDevice()
|
| {
|
| }
|
|
|
| +InputDevice* InputDevice::touchEventInstance()
|
| +{
|
| + DEFINE_STATIC_LOCAL(InputDevice, instance, (true));
|
| + return &instance;
|
| +}
|
| +
|
| +InputDevice* InputDevice::nonTouchEventInstance()
|
| +{
|
| + DEFINE_STATIC_LOCAL(InputDevice, instance, (false));
|
| + return &instance;
|
| +}
|
| +
|
| } // namespace blink
|
|
|