Patch by Pavel Feldman <pfeldman@chromium.org> on 2012-02-24
* inspector/front-end/JavaScriptSourceFrame.js:
(WebInspector.JavaScriptSourceFrame.prototype._getPopoverAnchor):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108769
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-02-24 Pavel Feldman <pfeldman@chromium.org>
+
+ Not reviewed: follow up to inspector's r108331, using more general condition.
+
+ * inspector/front-end/JavaScriptSourceFrame.js:
+ (WebInspector.JavaScriptSourceFrame.prototype._getPopoverAnchor):
+
2012-02-24 Kentaro Hara <haraken@chromium.org>
Move WebGL APIs from DOMWindow.idl to DOMWindowWebGL.idl
if (element.hasStyleClass("webkit-javascript-keyword"))
return element.textContent === "this" ? element : null;
- if (element !== lineElement || element.querySelectorAll(".source-frame-token").length)
+ if (element !== lineElement || lineElement.childElementCount)
return null;
// Handle non-highlighted case