diff --git a/layout/style/nsCSSStyleSheet.cpp b/layout/style/nsCSSStyleSheet.cpp index f129e9c4cd01..95fc1b1ccedd 100644 --- a/layout/style/nsCSSStyleSheet.cpp +++ b/layout/style/nsCSSStyleSheet.cpp @@ -1299,7 +1299,7 @@ nsCSSStyleSheet::AppendStyleSheet(nsICSSStyleSheet* aSheet) while (*tail) { tail = &(*tail)->mNext; } - *tail - sheet; + *tail = sheet; // This is not reference counted. Our parent tells us when // it's going away.