summaryrefslogtreecommitdiff
path: root/Source/WebCore/dom/StyleElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/StyleElement.cpp')
-rw-r--r--Source/WebCore/dom/StyleElement.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/WebCore/dom/StyleElement.cpp b/Source/WebCore/dom/StyleElement.cpp
index 3fc8e7c44..dd4de2901 100644
--- a/Source/WebCore/dom/StyleElement.cpp
+++ b/Source/WebCore/dom/StyleElement.cpp
@@ -149,7 +149,6 @@ 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())
@@ -182,7 +181,7 @@ void StyleElement::createSheet(Element* e, WTF::OrdinalNumber startLineNumber, c
}
if (m_sheet)
- m_sheet->contents()->checkLoadCompleted();
+ m_sheet->contents()->checkLoaded();
}
bool StyleElement::isLoading() const