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

Unified Diff: cc/trees/remote_channel_unittest.cc

Issue 1897123002: Remove current implementation of frame timing events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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/remote_channel_impl.cc ('k') | cc/trees/single_thread_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/remote_channel_unittest.cc
diff --git a/cc/trees/remote_channel_unittest.cc b/cc/trees/remote_channel_unittest.cc
index e33f5802f5f99752153d6845d453263542eecf4e..79e6a3d768d7454873cba19c90765310e37601e9 100644
--- a/cc/trees/remote_channel_unittest.cc
+++ b/cc/trees/remote_channel_unittest.cc
@@ -150,27 +150,11 @@ class RemoteChannelTestCommit : public RemoteChannelTest {
EXPECT_EQ(viewport_size_, host_impl->device_viewport_size());
}
- void ScheduledActionSendBeginMainFrame() override {
- last_args_sent_ = GetProxyImplForTest()->last_begin_frame_args();
- }
-
- void BeginMainFrame(const BeginFrameArgs& args) override {
- last_args_received_ = args;
- }
-
void AfterTest() override {
EXPECT_EQ(5, calls_received_);
-
- // Ensure that we serialized and deserialized the
- // BeginMainFrameAndCommitState. While the last_args_received_ will be set
- // on the impl thread, it is safe to read it here since the impl thread has
- // been destroyed now.
- EXPECT_EQ(last_args_sent_, last_args_received_);
}
const gfx::Size viewport_size_ = gfx::Size(5, 3);
- BeginFrameArgs last_args_sent_;
- BeginFrameArgs last_args_received_;
};
REMOTE_DIRECT_RENDERER_TEST_F(RemoteChannelTestCommit);
« no previous file with comments | « cc/trees/remote_channel_impl.cc ('k') | cc/trees/single_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698