| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index f2b6b300b7b95c42719f91afbfbacf86627566c2..e8a1a598f7eb8bfb67a847de39e337722029ec65 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -2734,6 +2734,12 @@
|
| lazyReattachIfAttached();
|
| }
|
|
|
| +void Element::webkitRequestPointerLock()
|
| +{
|
| + if (document().page())
|
| + document().page()->pointerLockController().requestPointerLock(this);
|
| +}
|
| +
|
| void Element::requestPointerLock()
|
| {
|
| if (document().page())
|
|
|