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

Unified Diff: android_webview/browser/surfaces_instance.cc

Issue 2807653003: Move Work From CompositorFrameSinkSupport() To Init() (Closed)
Patch Set: Add CompositorFrameSinkSupport::Create Created 3 years, 8 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
« no previous file with comments | « android_webview/browser/hardware_renderer.cc ('k') | ash/laser/laser_pointer_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/surfaces_instance.cc
diff --git a/android_webview/browser/surfaces_instance.cc b/android_webview/browser/surfaces_instance.cc
index 708cd3323755e9ba40f3fb7723d9890fc12fd1ac..765906da68a57afb52ef31ced0d0666efeed8e86 100644
--- a/android_webview/browser/surfaces_instance.cc
+++ b/android_webview/browser/surfaces_instance.cc
@@ -59,9 +59,9 @@ SurfacesInstance::SurfacesInstance()
constexpr bool is_root = true;
constexpr bool handles_frame_sink_id_invalidation = true;
constexpr bool needs_sync_points = true;
- support_.reset(new cc::CompositorFrameSinkSupport(
+ support_ = cc::CompositorFrameSinkSupport::Create(
this, surface_manager_.get(), frame_sink_id_, is_root,
- handles_frame_sink_id_invalidation, needs_sync_points));
+ handles_frame_sink_id_invalidation, needs_sync_points);
begin_frame_source_.reset(new cc::StubBeginFrameSource);
std::unique_ptr<cc::TextureMailboxDeleter> texture_mailbox_deleter(
« no previous file with comments | « android_webview/browser/hardware_renderer.cc ('k') | ash/laser/laser_pointer_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698