Index: third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp |
diff --git a/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp b/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp |
index d09c8dbad0266c27c3ac85b61052bcab43d461c5..19ec6a5a15fcad586ccd5e627759d30f06deada9 100644 |
--- a/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp |
+++ b/third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp |
@@ -82,7 +82,7 @@ FileReaderLoader::~FileReaderLoader() |
void FileReaderLoader::startInternal(ExecutionContext& executionContext, const Stream* stream, PassRefPtr<BlobDataHandle> blobData) |
{ |
// The blob is read by routing through the request handling layer given a temporary public url. |
- m_urlForReading = BlobURL::createPublicURL(executionContext.securityOrigin()); |
+ m_urlForReading = BlobURL::createPublicURL(executionContext.getSecurityOrigin()); |
if (m_urlForReading.isEmpty()) { |
failed(FileError::SECURITY_ERR); |
return; |
@@ -90,10 +90,10 @@ void FileReaderLoader::startInternal(ExecutionContext& executionContext, const S |
if (blobData) { |
ASSERT(!stream); |
- BlobRegistry::registerPublicBlobURL(executionContext.securityOrigin(), m_urlForReading, blobData); |
+ BlobRegistry::registerPublicBlobURL(executionContext.getSecurityOrigin(), m_urlForReading, blobData); |
} else { |
ASSERT(stream); |
- BlobRegistry::registerStreamURL(executionContext.securityOrigin(), m_urlForReading, stream->url()); |
+ BlobRegistry::registerStreamURL(executionContext.getSecurityOrigin(), m_urlForReading, stream->url()); |
} |
// Construct and load the request. |