Unreviewed Windows build fix after r242251.
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Mar 2019 03:41:21 +0000 (03:41 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Mar 2019 03:41:21 +0000 (03:41 +0000)
* platform/win/SearchPopupMenuDB.cpp:
(WebCore::SearchPopupMenuDB::openDatabase):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242255 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/win/SearchPopupMenuDB.cpp

index bdf6485..1302bbc 100644 (file)
@@ -1,3 +1,10 @@
+2019-02-28  Chris Dumez  <cdumez@apple.com>
+
+        Unreviewed Windows build fix after r242251.
+
+        * platform/win/SearchPopupMenuDB.cpp:
+        (WebCore::SearchPopupMenuDB::openDatabase):
+
 2019-02-28  Zalan Bujtas  <zalan@apple.com>
 
         [ContentChangeObserver] Move timer removal code from DOMWindow::clearTimeout to DOMTimer::removeById
index be913d2..20f3356 100644 (file)
@@ -171,7 +171,7 @@ bool SearchPopupMenuDB::openDatabase()
     bool existsDatabaseFile = SQLiteFileSystem::ensureDatabaseFileExists(m_databaseFilename, false);
 
     if (existsDatabaseFile) {
-        if (m_database.open(m_databaseFilename, false)) {
+        if (m_database.open(m_databaseFilename)) {
             if (!checkDatabaseValidity()) {
                 // delete database and try to re-create again
                 LOG_ERROR("Search autosave database validity check failed, attempting to recreate the database");
@@ -190,7 +190,7 @@ bool SearchPopupMenuDB::openDatabase()
         if (!FileSystem::makeAllDirectories(FileSystem::directoryName(m_databaseFilename)))
             LOG_ERROR("Failed to create the search autosave database path %s", m_databaseFilename.utf8().data());
 
-        m_database.open(m_databaseFilename, false);
+        m_database.open(m_databaseFilename);
     }
 
     if (!m_database.isOpen())