Title: [144603] trunk/Source/WebCore
Revision
144603
Author
[email protected]
Date
2013-03-04 00:06:50 -0800 (Mon, 04 Mar 2013)

Log Message

Web Inspector: Fix front-end compilation
https://bugs.webkit.org/show_bug.cgi?id=111286

Reviewed by Alexander Pavlov.

* inspector/InjectedScriptSource.js:
* inspector/front-end/FileSystemProjectDelegate.js:
* inspector/front-end/NavigatorView.js:
(WebInspector.NavigatorView.prototype.removeUISourceCode):
(WebInspector.NavigatorTreeNode.prototype.reset):
(WebInspector.NavigatorFolderTreeNode.prototype.didAddChild):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (144602 => 144603)


--- trunk/Source/WebCore/ChangeLog	2013-03-04 07:57:44 UTC (rev 144602)
+++ trunk/Source/WebCore/ChangeLog	2013-03-04 08:06:50 UTC (rev 144603)
@@ -1,3 +1,17 @@
+2013-03-04  Vsevolod Vlasov  <[email protected]>
+
+        Web Inspector: Fix front-end compilation
+        https://bugs.webkit.org/show_bug.cgi?id=111286
+
+        Reviewed by Alexander Pavlov.
+
+        * inspector/InjectedScriptSource.js:
+        * inspector/front-end/FileSystemProjectDelegate.js:
+        * inspector/front-end/NavigatorView.js:
+        (WebInspector.NavigatorView.prototype.removeUISourceCode):
+        (WebInspector.NavigatorTreeNode.prototype.reset):
+        (WebInspector.NavigatorFolderTreeNode.prototype.didAddChild):
+
 2013-03-03  Kondapally Kalyan  <[email protected]>
 
         [EFL][WebGL] Add proper checks to enable GraphicsSurface usage on EGL without XCompositeWindow.

Modified: trunk/Source/WebCore/inspector/InjectedScriptSource.js (144602 => 144603)


--- trunk/Source/WebCore/inspector/InjectedScriptSource.js	2013-03-04 07:57:44 UTC (rev 144602)
+++ trunk/Source/WebCore/inspector/InjectedScriptSource.js	2013-03-04 08:06:50 UTC (rev 144603)
@@ -1119,7 +1119,7 @@
 
     /**
      * @param {string} name The name of the method for which a toString method should be generated.
-     * @return {string}
+     * @return {function():string}
      */
     function customToStringMethod(name)
     {

Modified: trunk/Source/WebCore/inspector/front-end/FileSystemProjectDelegate.js (144602 => 144603)


--- trunk/Source/WebCore/inspector/front-end/FileSystemProjectDelegate.js	2013-03-04 07:57:44 UTC (rev 144602)
+++ trunk/Source/WebCore/inspector/front-end/FileSystemProjectDelegate.js	2013-03-04 08:06:50 UTC (rev 144603)
@@ -100,7 +100,6 @@
     /**
      * @param {Array.<string>} path
      * @param {string} content
-     * @return {string}
      */
     _contentRequestFinished: function(path, content)
     {

Modified: trunk/Source/WebCore/inspector/front-end/NavigatorView.js (144602 => 144603)


--- trunk/Source/WebCore/inspector/front-end/NavigatorView.js	2013-03-04 07:57:44 UTC (rev 144602)
+++ trunk/Source/WebCore/inspector/front-end/NavigatorView.js	2013-03-04 08:06:50 UTC (rev 144603)
@@ -191,7 +191,7 @@
         parentNode.removeChild(node);
         node = parentNode;
         while (node) {
-            var parentNode = node.parent;
+            parentNode = node.parent;
             if (!parentNode || !node.isEmpty())
                 break;
             parentNode.removeChild(node);
@@ -640,7 +640,7 @@
         node.dispose();
     },
 
-    reset: function(uiSourceCode)
+    reset: function()
     {
         this._children = {};
     }
@@ -667,7 +667,7 @@
     },
 
     /**
-     * @return {TreeElement}
+     * @return {TreeOutline}
      */
     treeElement: function()
     {
@@ -699,7 +699,6 @@
  * @constructor
  * @extends {WebInspector.NavigatorTreeNode}
  * @param {WebInspector.NavigatorView} navigatorView
- * @param {string} id
  * @param {WebInspector.UISourceCode} uiSourceCode
  */
 WebInspector.NavigatorUISourceCodeTreeNode = function(navigatorView, uiSourceCode)
@@ -841,7 +840,6 @@
  * @param {string} id
  * @param {string} type
  * @param {string} title
- * @param {WebInspector.UISourceCode} uiSourceCode
  */
 WebInspector.NavigatorFolderTreeNode = function(navigatorView, id, type, title)
 {
@@ -934,7 +932,7 @@
             treeNode = oldNode;
             do {
                 nodes.push(treeNode);
-                var children = treeNode.children();
+                children = treeNode.children();
                 treeNode = children.length === 1 ? children[0] : null;
             } while (treeNode && treeNode._isMerged);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to