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

Unified Diff: ui/ozone/platform/drm/gpu/drm_window.cc

Issue 1518063002: Fix FNL Werror=maybe-unitialized and skia API changes in FNL build (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years 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 | « ui/ozone/platform/drm/gpu/drm_surface.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/drm_window.cc
diff --git a/ui/ozone/platform/drm/gpu/drm_window.cc b/ui/ozone/platform/drm/gpu/drm_window.cc
index 3dda06cd307395763a54f9b96b38705affbeab7a..23ce39eb1c98ed55906a79bcd6172e9d4c14cea0 100644
--- a/ui/ozone/platform/drm/gpu/drm_window.cc
+++ b/ui/ozone/platform/drm/gpu/drm_window.cc
@@ -42,7 +42,7 @@ void UpdateCursorImage(DrmBuffer* cursor, const SkBitmap& image) {
clip.set(0, 0, canvas->getDeviceSize().width(),
canvas->getDeviceSize().height());
canvas->clipRect(clip, SkRegion::kReplace_Op);
- canvas->drawBitmapRectToRect(image, &damage, damage);
+ canvas->drawBitmapRect(image, damage, damage, nullptr);
}
} // namespace
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_surface.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698