diff options
Diffstat (limited to 'Source/WebCore/dom/StyleElement.cpp')
-rw-r--r-- | Source/WebCore/dom/StyleElement.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebCore/dom/StyleElement.cpp b/Source/WebCore/dom/StyleElement.cpp index dd4de2901..3fc8e7c44 100644 --- a/Source/WebCore/dom/StyleElement.cpp +++ b/Source/WebCore/dom/StyleElement.cpp @@ -149,6 +149,7 @@ void StyleElement::createSheet(Element* e, WTF::OrdinalNumber startLineNumber, c { ASSERT(e); ASSERT(e->inDocument()); + Document* document = e->document(); if (m_sheet) { if (m_sheet->isLoading()) @@ -181,7 +182,7 @@ void StyleElement::createSheet(Element* e, WTF::OrdinalNumber startLineNumber, c } if (m_sheet) - m_sheet->contents()->checkLoaded(); + m_sheet->contents()->checkLoadCompleted(); } bool StyleElement::isLoading() const |