[cleanup] Replace base::ranges with std::ranges: components/

Done entirely with `git grep` and `sed` + `git cl format`, no
hand-editing.

Bug: 386918226
Change-Id: I7377af2f9c3758c68a249b421d98bd3fd5c2c1fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6201377
Auto-Submit: Peter Kasting <[email protected]>
Reviewed-by: Ted Choc <[email protected]>
Commit-Queue: Peter Kasting <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1411730}
diff --git a/components/viz/client/frame_eviction_manager_unittest.cc b/components/viz/client/frame_eviction_manager_unittest.cc
index cc192add..92ba618 100644
--- a/components/viz/client/frame_eviction_manager_unittest.cc
+++ b/components/viz/client/frame_eviction_manager_unittest.cc
@@ -4,11 +4,11 @@
 
 #include "components/viz/client/frame_eviction_manager.h"
 
+#include <algorithm>
 #include <vector>
 
 #include "base/memory/memory_pressure_listener.h"
 #include "base/memory/raw_ptr.h"
-#include "base/ranges/algorithm.h"
 #include "base/test/test_mock_time_task_runner.h"
 #include "testing/gtest/include/gtest/gtest.h"
 
@@ -64,14 +64,14 @@
       manager->AddFrame(&frame, /*locked=*/false);
 
     // All frames stays because |scoped_pause| holds off frame eviction.
-    EXPECT_EQ(kFrames, base::ranges::count_if(
+    EXPECT_EQ(kFrames, std::ranges::count_if(
                            frames, &TestFrameEvictionManagerClient::has_frame));
   }
 
   // Frame eviction happens when |scoped_pause| goes out of scope.
   EXPECT_EQ(kMaxSavedFrames,
-            base::ranges::count_if(frames,
-                                   &TestFrameEvictionManagerClient::has_frame));
+            std::ranges::count_if(frames,
+                                  &TestFrameEvictionManagerClient::has_frame));
 }
 
 TEST_F(FrameEvictionManagerTest, PeriodicCulling) {