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

Unified Diff: ui/android/delegated_frame_host_android.cc

Issue 2919373002: cc: De-special-case SurfaceLayer code (Closed)
Patch Set: Fix cc_unittests 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: ui/android/delegated_frame_host_android.cc
diff --git a/ui/android/delegated_frame_host_android.cc b/ui/android/delegated_frame_host_android.cc
index 3935dd5bd4fdd23dd0bdf34a6e59e1dcd40e5070..e1c9cc987ceb4ec893a3e81efe1ba1cf82b54e78 100644
--- a/ui/android/delegated_frame_host_android.cc
+++ b/ui/android/delegated_frame_host_android.cc
@@ -31,6 +31,7 @@ scoped_refptr<cc::SurfaceLayer> CreateSurfaceLayer(
// manager must outlive compositors using it.
auto layer = cc::SurfaceLayer::Create(surface_manager->reference_factory());
layer->SetPrimarySurfaceInfo(surface_info);
+ layer->SetFallbackSurfaceInfo(surface_info);
layer->SetBounds(surface_info.size_in_pixels());
layer->SetIsDrawable(true);
layer->SetContentsOpaque(surface_opaque);
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp ('k') | ui/aura/local/window_port_local.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698