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

Unified Diff: ios/chrome/browser/ui/image_util.mm

Issue 2567203002: Revert of [ObjC ARC] Converts ios/chrome/browser/ui:ui to ARC. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « ios/chrome/browser/ui/file_locations.mm ('k') | ios/chrome/browser/ui/native_content_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/image_util.mm
diff --git a/ios/chrome/browser/ui/image_util.mm b/ios/chrome/browser/ui/image_util.mm
index 08c8c1243dadfa4fed7856ce8895184b1662834b..e1f297b47d51d28551e22daee88d2e2f3d536ea6 100644
--- a/ios/chrome/browser/ui/image_util.mm
+++ b/ios/chrome/browser/ui/image_util.mm
@@ -8,10 +8,6 @@
#include "ui/gfx/color_analysis.h"
#include "ui/gfx/image/image.h"
-
-#if !defined(__has_feature) || !__has_feature(objc_arc)
-#error "This file requires ARC support."
-#endif
UIColor* DominantColorForImage(const gfx::Image& image, CGFloat opacity) {
SkColor color = color_utils::CalculateKMeanColorOfBitmap(*image.ToSkBitmap());
« no previous file with comments | « ios/chrome/browser/ui/file_locations.mm ('k') | ios/chrome/browser/ui/native_content_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698