Fix debug DumpRegressionData method to not crash on null uris for things like
mBinding, mBackgroundImage, etc git-svn-id: svn://10.0.0.236/trunk@147603 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
8e79545d21
commit
4dcff7ec30
@ -538,7 +538,11 @@ nsStyleContext::Mark()
|
||||
class URICString : public nsCAutoString {
|
||||
public:
|
||||
URICString(nsIURI* aURI) {
|
||||
aURI->GetSpec(*this);
|
||||
if (aURI) {
|
||||
aURI->GetSpec(*this);
|
||||
} else {
|
||||
Assign("[no background image]");
|
||||
}
|
||||
}
|
||||
|
||||
URICString& operator=(const URICString& aOther) {
|
||||
|
||||
@ -538,7 +538,11 @@ nsStyleContext::Mark()
|
||||
class URICString : public nsCAutoString {
|
||||
public:
|
||||
URICString(nsIURI* aURI) {
|
||||
aURI->GetSpec(*this);
|
||||
if (aURI) {
|
||||
aURI->GetSpec(*this);
|
||||
} else {
|
||||
Assign("[no background image]");
|
||||
}
|
||||
}
|
||||
|
||||
URICString& operator=(const URICString& aOther) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user