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

Unified Diff: tracing/tracing/ui/extras/chrome/cc/picture_ops_chart_summary_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_summary_view.html
diff --git a/tracing/tracing/ui/extras/chrome/cc/picture_ops_chart_summary_view.html b/tracing/tracing/ui/extras/chrome/cc/picture_ops_chart_summary_view.html
index 8d50d3606565760251261bfa0e2608d259f61775..4d91ec2499b2baa75298c2f0e389081b62039338 100644
--- a/tracing/tracing/ui/extras/chrome/cc/picture_ops_chart_summary_view.html
+++ b/tracing/tracing/ui/extras/chrome/cc/picture_ops_chart_summary_view.html
@@ -5,9 +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_summary_view.css">
-
<link rel="import" href="/tracing/ui/base/ui.html">
<script>
@@ -42,6 +39,16 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
__proto__: HTMLDivElement.prototype,
decorate() {
+ this.style.flexGrow = 0;
+ this.style.flexShrink = 0;
+ this.style.flexBasis = 'auto';
+ this.style.fontSize = 0;
+ this.style.margin = 0;
+ this.style.minHeight = '200px';
+ this.style.minWidth = '200px';
+ this.style.overflow = 'hidden';
+ this.style.padding = 0;
+
this.picture_ = undefined;
this.pictureDataProcessed_ = false;
@@ -87,10 +94,12 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
hide() {
Polymer.dom(this).classList.add('hidden');
+ this.style.display = 'none';
},
show() {
Polymer.dom(this).classList.remove('hidden');
+ this.style.display = '';
if (this.pictureDataProcessed_) return;

Powered by Google App Engine
This is Rietveld 408576698