| Index: Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js
|
| diff --git a/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js b/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js
|
| index 70f5a7b8389ef7df5ee343593ef0076299c9f612..f31409bdb0ffc421581eed6223b593f0ff5861b4 100644
|
| --- a/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js
|
| +++ b/Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js
|
| @@ -758,7 +758,7 @@ WebInspector.CodeMirrorTextEditor.prototype = {
|
| */
|
| coordinatesToCursorPosition: function(x, y)
|
| {
|
| - var element = this.element.ownerDocument.deepElementFromPoint(x, y);
|
| + var element = this.element.ownerDocument.elementFromPoint(x, y);
|
| if (!element || !element.isSelfOrDescendant(this._codeMirror.getWrapperElement()))
|
| return null;
|
| var gutterBox = this._codeMirror.getGutterElement().boxInWindow();
|
|
|