Title: [108769] trunk/Source/WebCore
- Revision
- 108769
- Author
- pfeld...@chromium.org
- Date
- 2012-02-24 03:58:30 -0800 (Fri, 24 Feb 2012)
Log Message
Not reviewed: follow up to inspector's r108331, using more general condition.
Patch by Pavel Feldman <pfeld...@chromium.org> on 2012-02-24
* inspector/front-end/_javascript_SourceFrame.js:
(WebInspector._javascript_SourceFrame.prototype._getPopoverAnchor):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (108768 => 108769)
--- trunk/Source/WebCore/ChangeLog 2012-02-24 11:57:16 UTC (rev 108768)
+++ trunk/Source/WebCore/ChangeLog 2012-02-24 11:58:30 UTC (rev 108769)
@@ -1,3 +1,10 @@
+2012-02-24 Pavel Feldman <pfeld...@chromium.org>
+
+ Not reviewed: follow up to inspector's r108331, using more general condition.
+
+ * inspector/front-end/_javascript_SourceFrame.js:
+ (WebInspector._javascript_SourceFrame.prototype._getPopoverAnchor):
+
2012-02-24 Kentaro Hara <hara...@chromium.org>
Move WebGL APIs from DOMWindow.idl to DOMWindowWebGL.idl
Modified: trunk/Source/WebCore/inspector/front-end/_javascript_SourceFrame.js (108768 => 108769)
--- trunk/Source/WebCore/inspector/front-end/_javascript_SourceFrame.js 2012-02-24 11:57:16 UTC (rev 108768)
+++ trunk/Source/WebCore/inspector/front-end/_javascript_SourceFrame.js 2012-02-24 11:58:30 UTC (rev 108769)
@@ -274,7 +274,7 @@
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
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes