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

Unified Diff: WebCore/css/CSSImportRule.cpp

Issue 5482001: Merge 72988 - 2010-11-30 Pavel Feldman <pfeldman@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 years, 1 month 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 73036)
+++ 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() && root == parentSheet)
+ if (parentSheet && parentSheet->loadCompleted() && parentSheet->document())
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