Index: Source/WebKit/chromium/src/WebFileSystemCallbacksImpl.cpp |
diff --git a/Source/WebKit/chromium/src/WebFileSystemCallbacksImpl.cpp b/Source/WebKit/chromium/src/WebFileSystemCallbacksImpl.cpp |
index 60da9eb184def96839ad9dfa4c0d4fc1eeafbf00..fc10b828ddd9c566480cca48bb9eb428786fffa4 100644 |
--- a/Source/WebKit/chromium/src/WebFileSystemCallbacksImpl.cpp |
+++ b/Source/WebKit/chromium/src/WebFileSystemCallbacksImpl.cpp |
@@ -108,7 +108,7 @@ void WebFileSystemCallbacksImpl::didOpenFileSystem(const WebString& name, const |
// This object is intended to delete itself on exit. |
OwnPtr<WebFileSystemCallbacksImpl> callbacks = adoptPtr(this); |
- if (m_context && m_context->isWorkerContext()) { |
+ if (m_context && m_context->isWorkerGlobalScope()) { |
m_callbacks->didOpenFileSystem(name, rootURL, WorkerAsyncFileSystemChromium::create(m_context, m_synchronousType)); |
return; |
} |