Title: [106235] trunk/Source/WebCore
Revision
106235
Author
[email protected]
Date
2012-01-30 05:00:50 -0800 (Mon, 30 Jan 2012)

Log Message

Web Inspector: hide function popover in heap snapshot view before navigating to the function definition
https://bugs.webkit.org/show_bug.cgi?id=77330

Reviewed by Pavel Feldman.

* inspector/front-end/DetailedHeapshotView.js:
(WebInspector.DetailedHeapshotView.prototype.willHide):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (106234 => 106235)


--- trunk/Source/WebCore/ChangeLog	2012-01-30 12:50:00 UTC (rev 106234)
+++ trunk/Source/WebCore/ChangeLog	2012-01-30 13:00:50 UTC (rev 106235)
@@ -1,3 +1,13 @@
+2012-01-30  Yury Semikhatsky  <[email protected]>
+
+        Web Inspector: hide function popover in heap snapshot view before navigating to the function definition
+        https://bugs.webkit.org/show_bug.cgi?id=77330
+
+        Reviewed by Pavel Feldman.
+
+        * inspector/front-end/DetailedHeapshotView.js:
+        (WebInspector.DetailedHeapshotView.prototype.willHide):
+
 2012-01-30  Jonathan Dong  <[email protected]>
 
         [BlackBerry] Credential backing store implementation

Modified: trunk/Source/WebCore/inspector/front-end/DetailedHeapshotView.js (106234 => 106235)


--- trunk/Source/WebCore/inspector/front-end/DetailedHeapshotView.js	2012-01-30 12:50:00 UTC (rev 106234)
+++ trunk/Source/WebCore/inspector/front-end/DetailedHeapshotView.js	2012-01-30 13:00:50 UTC (rev 106235)
@@ -509,7 +509,7 @@
     this.helpButton = new WebInspector.StatusBarButton("", "heapshot-help-status-bar-item status-bar-item");
     this.helpButton.addEventListener("click", this._helpClicked.bind(this), false);
 
-    var popoverHelper = new WebInspector.ObjectPopoverHelper(this.element, this._getHoverAnchor.bind(this), this._showObjectPopover.bind(this), null, true);
+    this._popoverHelper = new WebInspector.ObjectPopoverHelper(this.element, this._getHoverAnchor.bind(this), this._showObjectPopover.bind(this), null, true);
 
     this._loadProfile(this._profileUid, profileCallback.bind(this));
 
@@ -963,6 +963,11 @@
         element.node.queryObjectContent(showCallback);
     },
 
+    willHide: function()
+    {
+        this._popoverHelper.hidePopover();
+    },
+
     _helpClicked: function(event)
     {
         if (!this._helpPopoverContentElement) {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to