Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(866)

Unified Diff: third_party/WebKit/Source/modules/filesystem/DOMFileSystem.cpp

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/filesystem/DOMFileSystem.cpp
diff --git a/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.cpp b/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.cpp
index ac7affd19c05babfc257b5ffa131202825db7d2c..30b4526563c87cb4f0b1669ed57ed0674c6807f9 100644
--- a/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.cpp
@@ -65,7 +65,7 @@ DOMFileSystem* DOMFileSystem::createIsolatedFileSystem(ExecutionContext* context
return 0;
StringBuilder filesystemName;
- filesystemName.append(createDatabaseIdentifierFromSecurityOrigin(context->securityOrigin()));
+ filesystemName.append(createDatabaseIdentifierFromSecurityOrigin(context->getSecurityOrigin()));
filesystemName.appendLiteral(":Isolated_");
filesystemName.append(filesystemId);
@@ -73,7 +73,7 @@ DOMFileSystem* DOMFileSystem::createIsolatedFileSystem(ExecutionContext* context
// is to be validated each time the request is being handled.
StringBuilder rootURL;
rootURL.appendLiteral("filesystem:");
- rootURL.append(context->securityOrigin()->toString());
+ rootURL.append(context->getSecurityOrigin()->toString());
rootURL.append('/');
rootURL.append(isolatedPathPrefix);
rootURL.append('/');
@@ -156,7 +156,7 @@ void DOMFileSystem::createWriter(const FileEntry* fileEntry, FileWriterCallback*
return;
}
- FileWriter* fileWriter = FileWriter::create(executionContext());
+ FileWriter* fileWriter = FileWriter::create(getExecutionContext());
FileWriterBaseCallback* conversionCallback = ConvertToFileWriterCallback::create(successCallback);
OwnPtr<AsyncFileSystemCallbacks> callbacks = FileWriterBaseCallbacks::create(fileWriter, conversionCallback, errorCallback, m_context);
fileSystem()->createFileWriter(createFileSystemURL(fileEntry), fileWriter, callbacks.release());

Powered by Google App Engine
This is Rietveld 408576698