Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(888)

Unified Diff: Source/devtools/front_end/common/DOMExtension.js

Issue 340513003: DevTools: Add JSDoc for static methods, fix JSDoc types and induced errors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/common/DOMExtension.js
diff --git a/Source/devtools/front_end/common/DOMExtension.js b/Source/devtools/front_end/common/DOMExtension.js
index 0dac503811e7e738e08007c09f5e988f218563d1..281e91b44d0acfb5ae44e2f2aca2a459bc29eda9 100644
--- a/Source/devtools/front_end/common/DOMExtension.js
+++ b/Source/devtools/front_end/common/DOMExtension.js
@@ -492,7 +492,7 @@ Element.prototype.offsetRelativeToWindow = function(targetWindow)
}
/**
- * @param {!Window} targetWindow
+ * @param {!Window=} targetWindow
* @return {!AnchorBox}
*/
Element.prototype.boxInWindow = function(targetWindow)

Powered by Google App Engine
This is Rietveld 408576698