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

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

Issue 2183543003: DevTools: Keep timeline counters graph colors independent of dark theme. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: redid it Created 4 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/ui/inspectorCommon.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/timeline/CountersGraph.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/CountersGraph.js b/third_party/WebKit/Source/devtools/front_end/timeline/CountersGraph.js
index 204d0c8e41f50d857cae654849517e6a3ffc8bad..620781eac64442a65d8e10a3d2807a13dadac2f7 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/CountersGraph.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/CountersGraph.js
@@ -387,6 +387,7 @@ WebInspector.CountersGraph.CounterUI = function(memoryCountersPane, title, curre
this._setting = WebInspector.settings.createSetting("timelineCountersGraph-" + title, true);
this._filter = new WebInspector.ToolbarCheckbox(title, title, this._setting);
+ this._filter.inputElement.classList.add("-theme-preserve");
var color = WebInspector.Color.parse(graphColor).setAlpha(0.5).asString(WebInspector.Color.Format.RGBA);
if (color) {
this._filter.element.backgroundColor = color;
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/ui/inspectorCommon.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698