Index: Source/core/html/parser/HTMLParserThread.cpp |
diff --git a/Source/core/html/parser/HTMLParserThread.cpp b/Source/core/html/parser/HTMLParserThread.cpp |
index 75c8e822dda1b9df436ddfbe932f0983f01f5474..fe033fbd8d9d02b0b47d254b75d5eca89c041310 100644 |
--- a/Source/core/html/parser/HTMLParserThread.cpp |
+++ b/Source/core/html/parser/HTMLParserThread.cpp |
@@ -65,7 +65,7 @@ HTMLParserThread* HTMLParserThread::shared() |
return s_sharedThread; |
} |
-blink::WebThread& HTMLParserThread::ensureThread() |
+blink::WebThread& HTMLParserThread::platformThread() |
{ |
if (!m_thread) |
m_thread = adoptPtr(blink::Platform::current()->createThread("HTMLParserThread")); |
@@ -74,7 +74,7 @@ blink::WebThread& HTMLParserThread::ensureThread() |
void HTMLParserThread::postTask(const Closure& closure) |
{ |
- ensureThread().postTask(new Task(closure)); |
+ platformThread().postTask(new Task(closure)); |
} |
} // namespace WebCore |