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

Unified Diff: cc/trees/threaded_channel_unittest.cc

Issue 1762823002: Remove runtime toggling of throttling frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « cc/trees/threaded_channel.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/threaded_channel_unittest.cc
diff --git a/cc/trees/threaded_channel_unittest.cc b/cc/trees/threaded_channel_unittest.cc
index 79d1c65047df0b04b54e0840ac3925b71a977dab..81d28def59cb8241a41d80989020e067c798d794 100644
--- a/cc/trees/threaded_channel_unittest.cc
+++ b/cc/trees/threaded_channel_unittest.cc
@@ -73,22 +73,6 @@ class ThreadedChannelTestInitializationAndShutdown
MULTI_THREAD_DIRECT_RENDERER_TEST_F(
ThreadedChannelTestInitializationAndShutdown);
-class ThreadedChannelTestThrottleFrameProduction : public ThreadedChannelTest {
- void BeginChannelTest() override {
- proxy()->SetThrottleFrameProduction(true);
- }
-
- void SetThrottleFrameProductionOnImpl(bool throttle) override {
- ASSERT_TRUE(throttle);
- calls_received_++;
- EndTest();
- }
-
- void AfterTest() override { EXPECT_EQ(1, calls_received_); }
-};
-
-MULTI_THREAD_DIRECT_RENDERER_TEST_F(ThreadedChannelTestThrottleFrameProduction);
-
class ThreadedChannelTestTopControlsState : public ThreadedChannelTest {
void BeginChannelTest() override {
proxy()->UpdateTopControlsState(TopControlsState::BOTH,
« no previous file with comments | « cc/trees/threaded_channel.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698