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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.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/modules/webgl/WebGLRenderingContextBase.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
index 99ce2366d8a5c6e0ba444cb93e3265fc061f68e5..f8781d835e6573ae24cba644617c7a90676a9539 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
@@ -4505,7 +4505,7 @@ PassRefPtr<Image> WebGLRenderingContextBase::drawImageIntoBuffer(
IntRect srcRect(IntPoint(), image->size());
IntRect destRect(0, 0, size.width(), size.height());
- SkPaint paint;
+ CdlPaint paint;
image->draw(buf->canvas(), paint, destRect, srcRect,
DoNotRespectImageOrientation, Image::DoNotClampImageToSourceRect);
return buf->newImageSnapshot(PreferNoAcceleration,

Powered by Google App Engine
This is Rietveld 408576698