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

Unified Diff: tracing/tracing/ui/extras/chrome/cc/picture_ops_chart_view.html

Issue 3017523002: Fix uses of /deep/ in trace viewer. (Closed)
Patch Set: fix tests Created 3 years, 3 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: tracing/tracing/ui/extras/chrome/cc/picture_ops_chart_view.html
diff --git a/tracing/tracing/ui/extras/chrome/cc/picture_ops_chart_view.html b/tracing/tracing/ui/extras/chrome/cc/picture_ops_chart_view.html
index 0d11610cd6746be044fd55df4ab0c95c7b10168b..5b5a811b1c1e23e8c659b1c447270345b16f49e1 100644
--- a/tracing/tracing/ui/extras/chrome/cc/picture_ops_chart_view.html
+++ b/tracing/tracing/ui/extras/chrome/cc/picture_ops_chart_view.html
@@ -5,8 +5,6 @@ Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
-<link rel="stylesheet" href="/tracing/ui/extras/chrome/cc/picture_ops_chart_view.css">
-
<link rel="import" href="/tracing/ui/base/dom_helpers.html">
<script>
@@ -41,6 +39,12 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
__proto__: HTMLDivElement.prototype,
decorate() {
+ this.style.display = 'block';
+ this.style.height = '180px';
+ this.style.margin = 0;
+ this.style.padding = 0;
+ this.style.position = 'relative';
+
this.picture_ = undefined;
this.pictureOps_ = undefined;
this.opCosts_ = undefined;
@@ -71,6 +75,9 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
'Limit to 95%-ile');
Polymer.dom(this.usePercentileScaleCheckbox_).classList.add(
'use-percentile-scale');
+ this.usePercentileScaleCheckbox_.style.position = 'absolute';
+ this.usePercentileScaleCheckbox_.style.left = 0;
+ this.usePercentileScaleCheckbox_.style.top = 0;
Polymer.dom(this).appendChild(this.usePercentileScaleCheckbox_);
},

Powered by Google App Engine
This is Rietveld 408576698