Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Unified Diff: WebCore/css/CSSImportRule.cpp

Issue 5521007: Merge 73427 - 2010-12-06 Pavel Feldman <pfeldman@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/css/CSSImportRule.cpp
===================================================================
--- WebCore/css/CSSImportRule.cpp (revision 73427)
+++ WebCore/css/CSSImportRule.cpp (working copy)
@@ -142,7 +142,7 @@
// if the import rule is issued dynamically, the sheet may be
// removed from the pending sheet count, so let the doc know
// the sheet being imported is pending.
- if (parentSheet && parentSheet->loadCompleted() && parentSheet->document())
+ if (parentSheet && parentSheet->loadCompleted() && root == parentSheet)
parentSheet->document()->addPendingSheet();
m_loading = true;
m_cachedSheet->addClient(this);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698