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

Unified Diff: ios/web/public/image_fetcher/webp_decoder.mm

Issue 2663213002: Create the IOSImageDataFetcherWrapper (Closed)
Patch Set: Created 3 years, 11 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: ios/web/public/image_fetcher/webp_decoder.mm
diff --git a/ios/web/public/image_fetcher/webp_decoder.mm b/ios/web/public/image_fetcher/webp_decoder.mm
index e783844808f7b3b5d1ee6ec264965ac4965d1e2d..952882266753e0e88d7d9265f051dd051d444f44 100644
--- a/ios/web/public/image_fetcher/webp_decoder.mm
+++ b/ios/web/public/image_fetcher/webp_decoder.mm
@@ -106,7 +106,7 @@ WebpDecoder::~WebpDecoder() {
WebPFreeDecBuffer(&config_.output);
}
-void WebpDecoder::OnDataReceived(const base::scoped_nsobject<NSData>& data) {
+void WebpDecoder::OnDataReceived(NSData* data) {
DCHECK(data);
switch (state_) {
case READING_FEATURES:

Powered by Google App Engine
This is Rietveld 408576698