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

Unified Diff: media/blink/webmediaplayer_impl.h

Issue 2276033002: Pass SkPaint instead of its alpha and mode in WebMediaPlayer::paint (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better naming Created 4 years, 4 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: media/blink/webmediaplayer_impl.h
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h
index 7c3da6389a8cadf684fc1fc93365e2a2f8730588..261ed7e13e87561e6481e17b092d274c2f83cebf 100644
--- a/media/blink/webmediaplayer_impl.h
+++ b/media/blink/webmediaplayer_impl.h
@@ -122,8 +122,7 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl
// WebGL texImage2D, ImageBitmap, printing and capturing capabilities.
void paint(blink::WebCanvas* canvas,
const blink::WebRect& rect,
- unsigned char alpha,
- SkXfermode::Mode mode) override;
+ SkPaint& paint) override;
// True if the loaded media has a playable video/audio track.
bool hasVideo() const override;

Powered by Google App Engine
This is Rietveld 408576698