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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/Dialog.js

Issue 1760093003: [DevTools] Prepare UI module for closure compiler roll (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-array-from
Patch Set: Created 4 years, 10 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: third_party/WebKit/Source/devtools/front_end/ui/Dialog.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js b/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js
index 4f9adf811c0b99dfec8b66a19560d8f683f183d7..715f9907dd267563acf0c1acde8fded6bab54ab6 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Dialog.js
@@ -156,7 +156,7 @@ WebInspector.Dialog.prototype = {
_restoreTabIndexOnElements: function()
{
for (var element of this._tabIndexMap.keys())
- element.tabIndex = this._tabIndexMap.get(element);
+ element.tabIndex = /** @type {number} */(this._tabIndexMap.get(element));
this._tabIndexMap.clear();
},

Powered by Google App Engine
This is Rietveld 408576698