Index: chrome/browser/webdata/web_data_service.cc |
=================================================================== |
--- chrome/browser/webdata/web_data_service.cc (revision 26110) |
+++ chrome/browser/webdata/web_data_service.cc (working copy) |
@@ -408,14 +408,13 @@ |
// we only set db_ to the created database if creation is successful. That |
// way other methods won't do anything as db_ is still NULL. |
WebDatabase* db = new WebDatabase(); |
- if (!db->Init(path.ToWStringHack())) { |
+ if (!db->Init(path)) { |
NOTREACHED() << "Cannot initialize the web database"; |
delete db; |
return; |
} |
db_ = db; |
- |
db_->BeginTransaction(); |
} |