diff --git a/brightray/brightray.gyp b/brightray/brightray.gyp index 4bbfbdf991c..d089dbaceb8 100644 --- a/brightray/brightray.gyp +++ b/brightray/brightray.gyp @@ -24,6 +24,7 @@ '.', '..', '<(libchromiumcontent_src_dir)', + '<(libchromiumcontent_src_dir)/gpu', '<(libchromiumcontent_src_dir)/skia/config', '<(libchromiumcontent_src_dir)/third_party/skia/include/core', '<(libchromiumcontent_src_dir)/third_party/skia/include/config', diff --git a/brightray/browser/browser_context.cc b/brightray/browser/browser_context.cc index 02869a78ab8..a1136577cd3 100644 --- a/brightray/browser/browser_context.cc +++ b/brightray/browser/browser_context.cc @@ -109,7 +109,6 @@ BrowserContext::BrowserContext(const std::string& partition, bool in_memory) path_ = path_.Append(FILE_PATH_LITERAL("Partitions")) .Append(base::FilePath::FromUTF8Unsafe(MakePartitionName(partition))); - InitPrefs(); content::BrowserContext::Initialize(this, path_); browser_context_map_[PartitionKey(partition, in_memory)] = GetWeakPtr();