diff options
Diffstat (limited to 'chrome/common/temp_scaffolding_stubs.cpp')
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.cpp b/chrome/common/temp_scaffolding_stubs.cpp index 301d935..1228938 100644 --- a/chrome/common/temp_scaffolding_stubs.cpp +++ b/chrome/common/temp_scaffolding_stubs.cpp @@ -109,11 +109,12 @@ bool BrowserInit::LaunchBrowserImpl(const CommandLine& parsed_command_line, UserDataManager* UserDataManager::instance_ = NULL; -void UserDataManager::Create() { +UserDataManager* UserDataManager::Create() { DCHECK(!instance_); std::wstring user_data; PathService::Get(chrome::DIR_USER_DATA, &user_data); instance_ = new UserDataManager(user_data); + return instance_; } UserDataManager* UserDataManager::Get() { |