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

Unified Diff: chrome/utility/extensions/extensions_handler.cc

Issue 482163002: Large wallpaper decoding in utility process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resize image in utility process to fit IPC message size limit Created 6 years, 4 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: chrome/utility/extensions/extensions_handler.cc
diff --git a/chrome/utility/extensions/extensions_handler.cc b/chrome/utility/extensions/extensions_handler.cc
index 25f65a77707dfe1cd13deb206666dc7bcbb0901e..8604d4326f14de57cefaa1e588731247e20b5654 100644
--- a/chrome/utility/extensions/extensions_handler.cc
+++ b/chrome/utility/extensions/extensions_handler.cc
@@ -182,7 +182,7 @@ void ExtensionsHandler::OnDecodeImageBase64(
decoded_vector[i] = static_cast<unsigned char>(decoded_string[i]);
}
- ChromeContentUtilityClient::DecodeImage(decoded_vector);
+ ChromeContentUtilityClient::DecodeImageAndSend(decoded_vector, false);
}
void ExtensionsHandler::OnParseJSON(const std::string& json) {

Powered by Google App Engine
This is Rietveld 408576698