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

Unified Diff: Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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: Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp
diff --git a/Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp b/Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp
index e8c4e33f3c8ef2fe4e6ea2789572b6f994275f46..498759e29c6acbdcfc4b9a001e6d0581140c5c1b 100644
--- a/Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp
+++ b/Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp
@@ -69,10 +69,10 @@ int chromiumOpen(sqlite3_vfs* vfs, const char* fileName,
return result;
if (fd < 0) {
- fd = WebKit::Platform::current()->databaseOpenFile(String(fileName), desiredFlags);
+ fd = blink::Platform::current()->databaseOpenFile(String(fileName), desiredFlags);
if ((fd < 0) && (desiredFlags & SQLITE_OPEN_READWRITE)) {
int newFlags = (desiredFlags & ~(SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE)) | SQLITE_OPEN_READONLY;
- fd = WebKit::Platform::current()->databaseOpenFile(String(fileName), newFlags);
+ fd = blink::Platform::current()->databaseOpenFile(String(fileName), newFlags);
}
}
if (fd < 0) {
@@ -103,7 +103,7 @@ int chromiumOpen(sqlite3_vfs* vfs, const char* fileName,
// should be synched after the file is deleted.
int chromiumDelete(sqlite3_vfs*, const char* fileName, int syncDir)
{
- return WebKit::Platform::current()->databaseDeleteFile(String(fileName), syncDir);
+ return blink::Platform::current()->databaseDeleteFile(String(fileName), syncDir);
}
// Check the existance and status of the given file.
@@ -114,7 +114,7 @@ int chromiumDelete(sqlite3_vfs*, const char* fileName, int syncDir)
// res - the result.
int chromiumAccess(sqlite3_vfs*, const char* fileName, int flag, int* res)
{
- int attr = static_cast<int>(WebKit::Platform::current()->databaseGetFileAttributes(String(fileName)));
+ int attr = static_cast<int>(blink::Platform::current()->databaseGetFileAttributes(String(fileName)));
if (attr < 0) {
*res = 0;
return SQLITE_OK;
« no previous file with comments | « Source/modules/webdatabase/sqlite/SQLiteFileSystem.cpp ('k') | Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698