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

Unified Diff: third_party/WebKit/Source/devtools/front_end/main/Main.js

Issue 2604883002: DevTools: namespace globals (Closed)
Patch Set: address CL feedback Created 4 years 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/main/Main.js
diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js
index c8fe3c8efaf1be8657de7abd61119118e894739f..23660a16cb6467f415a8a3d14456c20d8702eebd 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
@@ -867,7 +867,7 @@ Main.RemoteDebuggingTerminatedScreen = class extends UI.VBox {
message.createChild('span', 'reason').textContent = reason;
this.contentElement.createChild('div', 'message').textContent =
Common.UIString('Reconnect when ready by reopening DevTools.');
- var button = createTextButton(Common.UIString('Reconnect DevTools'), () => window.location.reload());
+ var button = UI.createTextButton(Common.UIString('Reconnect DevTools'), () => window.location.reload());
this.contentElement.createChild('div', 'button').appendChild(button);
}

Powered by Google App Engine
This is Rietveld 408576698