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

Unified Diff: services/ui/ws/platform_display.cc

Issue 2961403002: WIP fix for Ozone cursor woes in Mushrome: Numéro deux
Patch Set: 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
« no previous file with comments | « services/ui/ws/platform_display.h ('k') | services/ui/ws/threaded_image_cursors.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/platform_display.cc
diff --git a/services/ui/ws/platform_display.cc b/services/ui/ws/platform_display.cc
index 1a576c0f9b98b8e6f560652c7ae24258c7a62441..d7785777c7281d7ba6f9fad02c70641bc9feebe8 100644
--- a/services/ui/ws/platform_display.cc
+++ b/services/ui/ws/platform_display.cc
@@ -21,7 +21,7 @@ std::unique_ptr<PlatformDisplay> PlatformDisplay::Create(
ServerWindow* root,
const display::ViewportMetrics& metrics,
scoped_refptr<base::SingleThreadTaskRunner>& resource_runner,
- base::WeakPtr<ui::ImageCursors> image_cursors_weak_ptr) {
+ base::WeakPtr<ui::ImageCursorsHolder> image_cursors_holder_weak_ptr) {
if (factory_)
return factory_->CreatePlatformDisplay(root, metrics);
@@ -32,7 +32,7 @@ std::unique_ptr<PlatformDisplay> PlatformDisplay::Create(
return base::MakeUnique<PlatformDisplayDefault>(
root, metrics,
base::MakeUnique<ThreadedImageCursors>(resource_runner,
- image_cursors_weak_ptr));
+ image_cursors_holder_weak_ptr));
#endif
}
« no previous file with comments | « services/ui/ws/platform_display.h ('k') | services/ui/ws/threaded_image_cursors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698