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

Unified Diff: content/common/cursors/webcursor_ozone.cc

Issue 2798883003: [ozone,views-mus] Build CursorDataFactoryOzone. (Closed)
Patch Set: sadrul comments 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 | « components/exo/pointer.cc ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/cursors/webcursor_ozone.cc
diff --git a/content/common/cursors/webcursor_ozone.cc b/content/common/cursors/webcursor_ozone.cc
index 6095da9fca188b1ce01be04379c6528d4292a9d3..b28ab005c63f1773b982a48d85437655556868f6 100644
--- a/content/common/cursors/webcursor_ozone.cc
+++ b/content/common/cursors/webcursor_ozone.cc
@@ -35,8 +35,8 @@ ui::PlatformCursor WebCursor::GetPlatformCursor() {
ui::ScaleAndRotateCursorBitmapAndHotpoint(scale, rotation_, &bitmap,
&hotspot);
- platform_cursor_ =
- ui::CursorFactoryOzone::GetInstance()->CreateImageCursor(bitmap, hotspot);
+ platform_cursor_ = ui::CursorFactoryOzone::GetInstance()->CreateImageCursor(
+ bitmap, hotspot, scale);
return platform_cursor_;
}
« no previous file with comments | « components/exo/pointer.cc ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698