зеркало из https://github.com/mozilla/gecko-dev.git
Fixing viewer's scrollbars.
This commit is contained in:
Родитель
c5d63174ec
Коммит
83eefb1df0
|
@ -1651,6 +1651,9 @@ nsChromeRegistry::AddToCompositeDataSource(PRBool aUseProfile)
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsChromeRegistry::GetBackstopSheets(nsISupportsArray **aResult)
|
nsChromeRegistry::GetBackstopSheets(nsISupportsArray **aResult)
|
||||||
{
|
{
|
||||||
|
if (!mScrollbarSheet)
|
||||||
|
LoadStyleSheet(getter_AddRefs(mScrollbarSheet), "chrome://global/skin/scrollbars.css");
|
||||||
|
|
||||||
if(mScrollbarSheet || mUserSheet)
|
if(mScrollbarSheet || mUserSheet)
|
||||||
{
|
{
|
||||||
NS_NewISupportsArray(aResult);
|
NS_NewISupportsArray(aResult);
|
||||||
|
|
|
@ -1651,6 +1651,9 @@ nsChromeRegistry::AddToCompositeDataSource(PRBool aUseProfile)
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsChromeRegistry::GetBackstopSheets(nsISupportsArray **aResult)
|
nsChromeRegistry::GetBackstopSheets(nsISupportsArray **aResult)
|
||||||
{
|
{
|
||||||
|
if (!mScrollbarSheet)
|
||||||
|
LoadStyleSheet(getter_AddRefs(mScrollbarSheet), "chrome://global/skin/scrollbars.css");
|
||||||
|
|
||||||
if(mScrollbarSheet || mUserSheet)
|
if(mScrollbarSheet || mUserSheet)
|
||||||
{
|
{
|
||||||
NS_NewISupportsArray(aResult);
|
NS_NewISupportsArray(aResult);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче