Revert "Removes EnableSurfaceLayerForVideoMS flag."
This reverts commit 3acd2385c4ed66bf3ef58a16df77d75a4ebaf0f5.
Reason for revert: This patch may be the culprit behind consistent failures in three bots - win-asan [23 out of the last 23 builds have failed], Win 7 Tests x64 (1) [48 out of the last 48 builds have failed], and Win7 Tests (1) [45 out of the last 45 builds have failed]. Reverting to try and fix.
Original change's description:
> Removes EnableSurfaceLayerForVideoMS flag.
>
> Because the conditions in which we turn on surfaces for videos have grown
> more complicated, and because surfaces for MS (MediaStream) has pretty much been implemented,
> it has been decided that special-casing MS videos was no longer required.
>
> Bug: 746182
> Change-Id: Ie79c56ba80707c9b3e102eba9bcc712e994065b2
> Reviewed-on: https://chromium-review.googlesource.com/c/1250095
> Commit-Queue: CJ DiMeglio <[email protected]>
> Reviewed-by: Chris Harrelson <[email protected]>
> Reviewed-by: Emircan Uysaler <[email protected]>
> Reviewed-by: Fady Samuel <[email protected]>
> Reviewed-by: Mounir Lamouri <[email protected]>
> Reviewed-by: Frank Liberato <[email protected]>
> Cr-Commit-Position: refs/heads/master@{#599492}
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
# Not skipping CQ checks because original CL landed > 1 day ago.
Bug: 746182
Change-Id: I251dae1ff54c43d16e91108a741507a33523a475
Reviewed-on: https://chromium-review.googlesource.com/c/1277800
Reviewed-by: Patti <[email protected]>
Commit-Queue: Patti <[email protected]>
Cr-Commit-Position: refs/heads/master@{#599552}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 8811e24..046d9f0a 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2969,6 +2969,10 @@
flag_descriptions::kUseSurfaceLayerForVideoName,
flag_descriptions::kUseSurfaceLayerForVideoDescription, kOsAll,
FEATURE_VALUE_TYPE(media::kUseSurfaceLayerForVideo)},
+ {"enable-surfaces-for-videos-ms",
+ flag_descriptions::kUseSurfaceLayerForVideoMSName,
+ flag_descriptions::kUseSurfaceLayerForVideoMSDescription, kOsAll,
+ FEATURE_VALUE_TYPE(media::kUseSurfaceLayerForVideoMS)},
#if defined(OS_CHROMEOS)
{"quick-unlock-pin", flag_descriptions::kQuickUnlockPinName,
flag_descriptions::kQuickUnlockPinDescription, kOsCrOS,