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

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

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 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
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 acc25caa3fb3cfbb6a39828d98ff5fade68a5e1d..c09254b57d3acffd42301ee61e289477977e8efe 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(CdlCanvas* canvas,
const IntRect& destRect,
- const SkPaint* paint) const {
+ const CdlPaint* paint) const {
if (!webMediaPlayer())
return;
- SkPaint mediaPaint;
+ CdlPaint mediaPaint;
if (paint) {
mediaPaint = *paint;
} else {
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLVideoElement.h ('k') | third_party/WebKit/Source/core/html/HTMLVideoElementTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698