[ios] Fix flickering of NTP while in the app switcher
This disables the experiment that caused flickering of the NTP while in
the app switcher.
Bug: 945811
Change-Id: I6388042c18d59530c0775daf0e784ed4e6ec9017
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1545720
Reviewed-by: edchin <edchin@chromium.org>
Reviewed-by: Mark Cogan <marq@chromium.org>
Reviewed-by: Justin Cohen <justincohen@chromium.org>
Auto-Submit: edchin <edchin@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#645727}(cherry picked from commit b3e7535823ff71d51d0f7e06344743349b3cb7bc)
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1554737
Cr-Commit-Position: refs/branch-heads/3729@{#683}
Cr-Branched-From: d4a8972e30b604f090aeda5dfff68386ae656267-refs/heads/master@{#638880}diff --git a/ios/chrome/browser/ui/ui_feature_flags.cc b/ios/chrome/browser/ui/ui_feature_flags.cc
index 389e205..779ca253 100644
--- a/ios/chrome/browser/ui/ui_feature_flags.cc
+++ b/ios/chrome/browser/ui/ui_feature_flags.cc
@@ -17,8 +17,11 @@
const base::Feature kOmniboxPopupShortcutIconsInZeroState{
"OmniboxPopupShortcutIconsInZeroState", base::FEATURE_DISABLED_BY_DEFAULT};
+// TODO(crbug.com/945811): Using |-drawViewHierarchyInRect:afterScreenUpdates:|
+// has adverse flickering when taking a snapshot of the NTP while in the app
+// switcher.
const base::Feature kSnapshotDrawView{"SnapshotDrawView",
- base::FEATURE_ENABLED_BY_DEFAULT};
+ base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kCopiedContentBehavior{"CopiedContentBehavior",
base::FEATURE_DISABLED_BY_DEFAULT};