From 4900e45329e1c5764c73952f19f5beea248a2540 Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Wed, 13 Feb 2008 21:47:22 +0000 Subject: [PATCH] Give the prefs stylesheet a .href. Bug 416896, r+sr=dbaron, a=schrep git-svn-id: svn://10.0.0.236/trunk@245634 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsPresShell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/layout/base/nsPresShell.cpp b/mozilla/layout/base/nsPresShell.cpp index ecf4e741a27..1dbd9341931 100644 --- a/mozilla/layout/base/nsPresShell.cpp +++ b/mozilla/layout/base/nsPresShell.cpp @@ -1864,7 +1864,7 @@ nsresult PresShell::CreatePreferenceStyleSheet(void) result = NS_NewURI(getter_AddRefs(uri), "about:PreferenceStyleSheet", nsnull); if (NS_SUCCEEDED(result)) { NS_ASSERTION(uri, "null but no error"); - result = mPrefStyleSheet->SetURIs(uri, nsnull, uri); + result = mPrefStyleSheet->SetURIs(uri, uri, uri); if (NS_SUCCEEDED(result)) { mPrefStyleSheet->SetComplete(); PRUint32 index;