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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h

Issue 1812273003: Eliminate copies of encoded image data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/image-decoders/jpeg/JPEGImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h
index 25aa80a4cef47478498a413ed3265849a0a2e72d..2297b79e9745be9d2cf620f2123795bd670921ea 100644
--- a/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h
+++ b/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h
@@ -40,7 +40,7 @@ public:
// ImageDecoder:
String filenameExtension() const override { return "jpg"; }
- void onSetData(SharedBuffer* data) override;
+ void onSetData(SegmentReader* data) override;
bool hasColorProfile() const override { return m_hasColorProfile; }
IntSize decodedSize() const override { return m_decodedSize; }
IntSize decodedYUVSize(int component, SizeType) const override;

Powered by Google App Engine
This is Rietveld 408576698