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

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

Issue 2692043010: Remove IsRunningOnIOS9OrLater() check from uikit_ui_util (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/uikit_ui_util.mm
diff --git a/ios/chrome/browser/ui/uikit_ui_util.mm b/ios/chrome/browser/ui/uikit_ui_util.mm
index b82122d93f614177b8041e4a5c47c1772f508711..381ffc198c98e5f63670977d94d4ca0e3c0caa78 100644
--- a/ios/chrome/browser/ui/uikit_ui_util.mm
+++ b/ios/chrome/browser/ui/uikit_ui_util.mm
@@ -12,7 +12,6 @@
#import <UIKit/UIKit.h>
#include <cmath>
-#include "base/ios/ios_util.h"
#include "base/logging.h"
#include "base/mac/foundation_util.h"
#include "ios/chrome/browser/experimental_flags.h"
@@ -175,7 +174,7 @@ UIImage* CaptureViewWithOption(UIView* view,
CaptureViewOption option) {
UIGraphicsBeginImageContextWithOptions(view.bounds.size, YES /* opaque */,
scale);
- if (base::ios::IsRunningOnIOS9OrLater() && option != kClientSideRendering) {
+ if (option != kClientSideRendering) {
[view drawViewHierarchyInRect:view.bounds
afterScreenUpdates:option == kAfterScreenUpdate];
} else {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698