From 02dfbfe7defa11cbb05b3ae0097a6177140a28c0 Mon Sep 17 00:00:00 2001 From: Panos Astithas Date: Tue, 24 Mar 2015 18:32:41 +0200 Subject: [PATCH] Use an html instead of a xul progress bar for better perf on Linux (bug 1003664). r=jlongster, f=darktrojan --- browser/devtools/debugger/debugger.css | 10 ++++++++++ browser/devtools/debugger/debugger.xul | 13 +++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/browser/devtools/debugger/debugger.css b/browser/devtools/debugger/debugger.css index 13eab6096552..f6da59945aea 100644 --- a/browser/devtools/debugger/debugger.css +++ b/browser/devtools/debugger/debugger.css @@ -48,3 +48,13 @@ #body[layout=vertical] #stackframes { visibility: hidden; } + +#source-progress-container { + display: flex; + flex-flow: column; + justify-content: center; +} + +#source-progress { + flex: none; +} diff --git a/browser/devtools/debugger/debugger.xul b/browser/devtools/debugger/debugger.xul index eb42add05bbd..0a8ddf9806fc 100644 --- a/browser/devtools/debugger/debugger.xul +++ b/browser/devtools/debugger/debugger.xul @@ -15,6 +15,7 @@ - - - + + + + +