| Index: third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp b/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp
|
| index bc4fd2feadb8e6c1cdc040883656c933f22166a0..4e614bf0963abd7ebc1e990448af4eb053b4b9e6 100644
|
| --- a/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp
|
| +++ b/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp
|
| @@ -155,10 +155,9 @@ int chromiumCurrentTime(sqlite3_vfs* vfs, double* prNow) {
|
| return wrappedVfs->xCurrentTime(wrappedVfs, prNow);
|
| }
|
|
|
| -int chromiumGetLastError(sqlite3_vfs* vfs, int e, char* s) {
|
| - // xGetLastError() has never been used by SQLite. The implementation in
|
| - // os_win.c indicates this is a reasonable implementation.
|
| - *s = '\0';
|
| +int chromiumGetLastError(sqlite3_vfs* vfs, int nBuf, char* zBuf) {
|
| + if (nBuf && zBuf)
|
| + *zBuf = '\0';
|
| return 0;
|
| }
|
|
|
|
|