Title: [132639] trunk/Source/WebCore
Revision
132639
Author
[email protected]
Date
2012-10-26 05:55:27 -0700 (Fri, 26 Oct 2012)

Log Message

Web Inspector: fast return upon setting the same dock side.
https://bugs.webkit.org/show_bug.cgi?id=100510

Reviewed by Vsevolod Vlasov.

Added fast return.

* inspector/front-end/DockController.js:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (132638 => 132639)


--- trunk/Source/WebCore/ChangeLog	2012-10-26 12:54:40 UTC (rev 132638)
+++ trunk/Source/WebCore/ChangeLog	2012-10-26 12:55:27 UTC (rev 132639)
@@ -1,3 +1,14 @@
+2012-10-26  Pavel Feldman  <[email protected]>
+
+        Web Inspector: fast return upon setting the same dock side.
+        https://bugs.webkit.org/show_bug.cgi?id=100510
+
+        Reviewed by Vsevolod Vlasov.
+
+        Added fast return.
+
+        * inspector/front-end/DockController.js:
+
 2012-10-26  Simon Hausmann  <[email protected]>
 
         Unreviewed trivial build fix: It's glXGetCurrentContext not glxGetCurrentContext :)

Modified: trunk/Source/WebCore/inspector/front-end/DockController.js (132638 => 132639)


--- trunk/Source/WebCore/inspector/front-end/DockController.js	2012-10-26 12:54:40 UTC (rev 132638)
+++ trunk/Source/WebCore/inspector/front-end/DockController.js	2012-10-26 12:55:27 UTC (rev 132639)
@@ -63,6 +63,9 @@
      */
     setDockSide: function(dockSide)
     {
+        if (this._dockSide === dockSide)
+            return;
+
         if (this._dockSide)
             WebInspector.settings.lastDockState.set(this._dockSide);
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to