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

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

Issue 2652893005: Create the IOSImageDataFetcher (Closed)
Patch Set: Address comments 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 95b18936c43a2902f9ce7c1538b4210558b36a2e..54b75618dafc7f3088e5fa6a5414dd8b687f022d 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:
« components/image_fetcher/image_data_fetcher.h ('K') | « ios/web/public/image_fetcher/webp_decoder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698