Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1316)

Unified Diff: content/browser/browser_main_loop.cc

Issue 2932893002: BrowserMainLoop owns FrameSinkManagerHost (Closed)
Patch Set: updated Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index aa8fa9b89f30b8b5346cb10ad3302ffa60dbb203..c6f372346db3003ab896b0fbdc1184400442716a 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -53,6 +53,7 @@
#include "components/tracing/common/trace_to_console.h"
#include "components/tracing/common/tracing_switches.h"
#include "components/viz/display_compositor/host_shared_bitmap_manager.h"
+#include "components/viz/host/frame_sink_manager_host.h"
#include "content/browser/browser_thread_impl.h"
#include "content/browser/child_process_security_policy_impl.h"
#include "content/browser/dom_storage/dom_storage_area.h"
@@ -705,6 +706,8 @@ void BrowserMainLoop::PostMainMessageLoopStart() {
base::DiscardableMemoryAllocator::SetInstance(
discardable_shared_memory_manager_.get());
}
+ frame_sink_manager_host_ = base::MakeUnique<viz::FrameSinkManagerHost>();
+ frame_sink_manager_host_->ConnectToFrameSinkManager();
}
if (parts_)

Powered by Google App Engine
This is Rietveld 408576698