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

Unified Diff: third_party/WebKit/Source/core/html/HTMLVideoElement.cpp

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Rebase Created 3 years, 11 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: third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
index 04f078d697d6fa63ca246b7fbe0f574e88ca24c6..ec7a7ed406cc3aea3fe065e952d849bb0dd35f79 100644
--- a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
@@ -191,13 +191,13 @@ void HTMLVideoElement::updateDisplayState() {
setDisplayMode(Poster);
}
-void HTMLVideoElement::paintCurrentFrame(SkCanvas* canvas,
+void HTMLVideoElement::paintCurrentFrame(PaintCanvas* canvas,
const IntRect& destRect,
- const SkPaint* paint) const {
+ const PaintFlags* paint) const {
if (!webMediaPlayer())
return;
- SkPaint mediaPaint;
+ PaintFlags mediaPaint;
if (paint) {
mediaPaint = *paint;
} else {

Powered by Google App Engine
This is Rietveld 408576698