mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Fix WebRTC support (issue #531).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1131 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
		| @@ -60,8 +60,9 @@ int CefBrowserMainParts::PreCreateThreads() { | ||||
|   content::GpuDataManager::GetInstance(); | ||||
|  | ||||
|   // Initialize user preferences. | ||||
|   user_prefs_ = new BrowserPrefStore(); | ||||
|   user_prefs_->SetInitializationCompleted(); | ||||
|   pref_store_ = new CefBrowserPrefStore(); | ||||
|   pref_store_->SetInitializationCompleted(); | ||||
|   pref_service_.reset(pref_store_->CreateService()); | ||||
|  | ||||
|   // Create a v8::Isolate for the current thread if it doesn't already exist. | ||||
|   if (!v8::Isolate::GetCurrent()) { | ||||
| @@ -75,7 +76,7 @@ int CefBrowserMainParts::PreCreateThreads() { | ||||
|   // Initialize proxy configuration tracker. | ||||
|   pref_proxy_config_tracker_.reset( | ||||
|       ProxyServiceFactory::CreatePrefProxyConfigTracker( | ||||
|           user_prefs_->CreateService())); | ||||
|           pref_service_.get())); | ||||
|  | ||||
|   return 0; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user