| Index: Source/core/css/resolver/StyleResolver.cpp
|
| diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp
|
| index 1975c7f26bb87140ba691109c0874d6a4954195a..940cc1cc3d5e01f0f73e81314e70a90bc76168da 100644
|
| --- a/Source/core/css/resolver/StyleResolver.cpp
|
| +++ b/Source/core/css/resolver/StyleResolver.cpp
|
| @@ -204,12 +204,12 @@ void StyleResolver::appendPendingAuthorStyleSheets()
|
| finishAppendAuthorStyleSheets();
|
| }
|
|
|
| -void StyleResolver::appendAuthorStyleSheets(unsigned firstNew, const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& styleSheets)
|
| +void StyleResolver::appendAuthorStyleSheets(const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& styleSheets)
|
| {
|
| // This handles sheets added to the end of the stylesheet list only. In other cases the style resolver
|
| // needs to be reconstructed. To handle insertions too the rule order numbers would need to be updated.
|
| unsigned size = styleSheets.size();
|
| - for (unsigned i = firstNew; i < size; ++i)
|
| + for (unsigned i = 0; i < size; ++i)
|
| appendCSSStyleSheet(styleSheets[i].get());
|
| }
|
|
|
|
|