mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix various Mac compile errors.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@115 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "browser_socket_stream_bridge.h"
|
||||
#include "browser_webblobregistry_impl.h"
|
||||
|
||||
#include "base/utf_string_conversions.h"
|
||||
#include "build/build_config.h"
|
||||
|
||||
#if defined(OS_WIN)
|
||||
@@ -33,8 +34,14 @@ void CefProcessIOThread::Init() {
|
||||
// Initializes the COM library on the current thread.
|
||||
CoInitialize(NULL);
|
||||
#endif
|
||||
|
||||
#if defined(OS_WIN)
|
||||
FilePath cache_path(_Context->cache_path());
|
||||
#else
|
||||
FilePath cache_path(WideToUTF8(_Context->cache_path()));
|
||||
#endif
|
||||
|
||||
request_context_ = new BrowserRequestContext(FilePath(_Context->cache_path()),
|
||||
request_context_ = new BrowserRequestContext(cache_path,
|
||||
net::HttpCache::NORMAL, false);
|
||||
_Context->set_request_context(request_context_);
|
||||
|
||||
|
Reference in New Issue
Block a user