Index: chrome/common/sqlite_utils.cc |
diff --git a/chrome/common/sqlite_utils.cc b/chrome/common/sqlite_utils.cc |
index 5c5e1309b71aebb2e3e3abdad631893fbc78f003..9695cfb90c760a21ee683d13c9afdcff31022f5d 100644 |
--- a/chrome/common/sqlite_utils.cc |
+++ b/chrome/common/sqlite_utils.cc |
@@ -407,3 +407,11 @@ std::wstring SQLStatement::column_wstring(int index) { |
column_wstring(index, &wstr); |
return wstr; |
} |
+ |
+#if defined(USE_SYSTEM_SQLITE) |
+// This function is a local change to sqlite3 which doesn't exist when one is |
+// using the system sqlite library. Thus, we stub it out here. |
+int sqlite3Preload(sqlite3* db) { |
+ return 0; |
+} |
+#endif |