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

Unified Diff: content/renderer/image_downloader/image_downloader_impl.cc

Issue 2008193002: Change mojo geometry structs from using type converters to StructTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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: content/renderer/image_downloader/image_downloader_impl.cc
diff --git a/content/renderer/image_downloader/image_downloader_impl.cc b/content/renderer/image_downloader/image_downloader_impl.cc
index 774b23477ec8263b22dc939eed455908d1d12e0d..9a8b09df412807ad5e5fddda42c888f79728de02 100644
--- a/content/renderer/image_downloader/image_downloader_impl.cc
+++ b/content/renderer/image_downloader/image_downloader_impl.cc
@@ -22,7 +22,6 @@
#include "third_party/WebKit/public/web/WebLocalFrame.h"
#include "third_party/WebKit/public/web/WebView.h"
#include "ui/gfx/favicon_size.h"
-#include "ui/gfx/geometry/mojo/geometry_type_converters.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/skbitmap_operations.h"
#include "url/url_constants.h"
@@ -222,7 +221,7 @@ void ImageDownloaderImpl::ReplyDownloadResult(
const DownloadImageCallback& callback) {
callback.Run(http_status_code,
mojo::Array<skia::mojom::BitmapPtr>::From(result_images),
- mojo::Array<mojo::SizePtr>::From(result_original_image_sizes));
+ result_original_image_sizes);
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698