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

Unified Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js

Issue 2875793004: Coverage: misc UI polish (Closed)
Patch Set: review comments, dropped some stray lines Created 3 years, 7 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/timeline/TimelinePanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js
index 08a9abfbe48f48d0a74663e3562401f5da1ec379..cdba648ce0c9c98d246f6a7fc0c2f69f8c83593c 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js
@@ -666,8 +666,8 @@ Timeline.TimelinePanel = class extends UI.Panel {
this._landingPage.contentElement.classList.add('timeline-landing-page', 'fill');
var centered = this._landingPage.contentElement.createChild('div');
- var recordButton = UI.Toolbar.createActionButton(this._toggleRecordAction).element;
- var reloadButton = UI.Toolbar.createActionButtonForId('main.reload').element;
+ var recordButton = UI.createInlineButton(UI.Toolbar.createActionButton(this._toggleRecordAction));
+ var reloadButton = UI.createInlineButton(UI.Toolbar.createActionButtonForId('main.reload'));
centered.createChild('p').appendChild(UI.formatLocalized(
'Click the record button %s or hit %s to capture a new recording.\n' +

Powered by Google App Engine
This is Rietveld 408576698