Commit fbb3fd37 authored by Justin Cohen's avatar Justin Cohen Committed by Commit Bot

[ios] Remove jpg workaround for Xcode10b1

This bug is fixed in beta 2.

Bug: 852431
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I799dffa75f0de39c4593de6f8f6cf67252df082c
Reviewed-on: https://chromium-review.googlesource.com/1107777Reviewed-by: default avatarRohit Rao <rohitrao@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#568953}
parent d7defe65
......@@ -6,7 +6,6 @@
#include <objc/runtime.h>
#include "base/ios/ios_util.h"
#include "base/logging.h"
#include "base/strings/sys_string_conversions.h"
#include "components/crash/core/common/objc_zombie.h"
......@@ -37,13 +36,6 @@ void swizzleUIImageImageNamed() {
[whiteList addObject:@"voice_icon_keyboard_accessory"];
[whiteList addObject:@"voice_icon"];
#if defined(__IPHONE_12_0) && (__IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_12_0)
// TODO(crbug.com/852431): radar://41088480 Asset catalogs fail for jpg
// imagesets with the iOS 12 SDK running with iOS 11. whiteList these for now.
if (!base::ios::IsRunningOnIOS12OrLater())
[whiteList addObject:@"stack_view_background_noise"];
#endif
// The original implementation of [UIImage imageNamed:].
// Called by the new implementation.
static IMP originalImp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment