Web Inspector: Remove unused return value after r122962
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Mar 2013 07:10:52 +0000 (07:10 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Mar 2013 07:10:52 +0000 (07:10 +0000)
https://bugs.webkit.org/show_bug.cgi?id=111821

Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-03-07
Reviewed by Pavel Feldman.

No new tests.

* inspector/front-end/ConsolePanel.js:
(WebInspector.ConsolePanel.prototype.jumpToPreviousSearchResult):
* inspector/front-end/ElementsPanel.js:
(WebInspector.ElementsPanel.prototype.jumpToPreviousSearchResult):
* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype.jumpToPreviousSearchResult):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@145183 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/ConsolePanel.js [changed mode: 0644->0755]
Source/WebCore/inspector/front-end/ElementsPanel.js
Source/WebCore/inspector/front-end/ScriptsPanel.js [changed mode: 0644->0755]

index 3c8e350..eab39ad 100644 (file)
@@ -1,3 +1,19 @@
+2013-03-07  Seokju Kwon  <seokju.kwon@gmail.com>
+
+        Web Inspector: Remove unused return value after r122962
+        https://bugs.webkit.org/show_bug.cgi?id=111821
+
+        Reviewed by Pavel Feldman.
+
+        No new tests.
+
+        * inspector/front-end/ConsolePanel.js:
+        (WebInspector.ConsolePanel.prototype.jumpToPreviousSearchResult):
+        * inspector/front-end/ElementsPanel.js:
+        (WebInspector.ElementsPanel.prototype.jumpToPreviousSearchResult):
+        * inspector/front-end/ScriptsPanel.js:
+        (WebInspector.ScriptsPanel.prototype.jumpToPreviousSearchResult):
+
 2013-03-07  Sheriff Bot  <webkit.review.bot@gmail.com>
 
         Unreviewed, rolling out r145166.
old mode 100644 (file)
new mode 100755 (executable)
index b03ea50..12778ac
@@ -109,7 +109,6 @@ WebInspector.ConsolePanel.prototype = {
         if (index === -1)
             index = this._searchResults.length - 1;
         this._jumpToSearchResult(index);
-        return true;
     },
 
     _clearCurrentSearchResultHighlight: function()
index 9e9b7dc..47e068e 100755 (executable)
@@ -486,7 +486,6 @@ WebInspector.ElementsPanel.prototype = {
             this._currentSearchResultIndex = (this._searchResults.length - 1);
 
         this._highlightCurrentSearchResult();
-        return true;
     },
 
     _highlightCurrentSearchResult: function()
old mode 100644 (file)
new mode 100755 (executable)
index 02e946d..747775e
@@ -892,7 +892,7 @@ WebInspector.ScriptsPanel.prototype = {
     jumpToPreviousSearchResult: function()
     {
         if (!this._searchView)
-            return false;
+            return;
 
         if (this._searchView !== this.visibleView) {
             this.performSearch(this._searchQuery);