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

Unified Diff: third_party/WebKit/Source/platform/graphics/BitmapImage.cpp

Issue 2026803002: Avoid GPU readback in tex(Sub)Image2D(ImageBitmap) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: should work Created 4 years, 7 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/platform/graphics/BitmapImage.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp b/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp
index 2ee3e6e73bcae85c79f1218cfd3a65bb9d6da8c6..f65a792c773e6c9de63e848672e05823bed24017 100644
--- a/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp
+++ b/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp
@@ -342,7 +342,7 @@ float BitmapImage::frameDurationAtIndex(size_t index)
return m_source.frameDurationAtIndex(index);
}
-PassRefPtr<SkImage> BitmapImage::imageForCurrentFrame()
+PassRefPtr<SkImage> BitmapImage::imageForCurrentFrame(WebGraphicsContext3DProvider* contextProvider)
{
return frameAtIndex(currentFrame());
}

Powered by Google App Engine
This is Rietveld 408576698