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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h

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/core/svg/graphics/SVGImageForContainer.h
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h b/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h
index 40ba819bc5ffb46ceeb6d10b729226ee90e2ec5a..aa69f53fa27dd9a802a67f0150f523c14a98bfb3 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h
@@ -57,7 +57,7 @@ public:
// FIXME: Implement this to be less conservative.
bool currentFrameKnownToBeOpaque(MetadataMode = UseCurrentMetadata) override { return false; }
- PassRefPtr<SkImage> imageForCurrentFrame() override;
+ PassRefPtr<SkImage> imageForCurrentFrame(WebGraphicsContext3DProvider* = nullptr) override;
private:
SVGImageForContainer(SVGImage* image, const FloatSize& containerSize, float zoom, const KURL& url)

Powered by Google App Engine
This is Rietveld 408576698