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

Unified Diff: cc/trees/proxy_common_unittest.cc

Issue 2321883002: cc: Remove SetMemoryPolicy from OutputSurface and Display. (Closed)
Patch Set: nits Created 4 years, 3 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/layer_tree_settings.cc ('k') | cc/trees/proxy_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy_common_unittest.cc
diff --git a/cc/trees/proxy_common_unittest.cc b/cc/trees/proxy_common_unittest.cc
index c0caf1d889189bd07a04770a5e6bcdf9dba9c364..3b47eb87a7c7a7a93ce4ee6cbc5a1f61a7a30f32 100644
--- a/cc/trees/proxy_common_unittest.cc
+++ b/cc/trees/proxy_common_unittest.cc
@@ -36,7 +36,6 @@ TEST(ProxyCommonUnittest, SerializeBeginMainFrameAndCommitState) {
gfx::Vector2dF(0.5f, 0.6f);
begin_main_frame_state.scroll_info->top_controls_delta = 0.9f;
- begin_main_frame_state.memory_allocation_limit_bytes = 16;
begin_main_frame_state.evicted_ui_resources = false;
proto::BeginMainFrameAndCommitState proto;
@@ -51,8 +50,6 @@ TEST(ProxyCommonUnittest, SerializeBeginMainFrameAndCommitState) {
begin_main_frame_state.begin_frame_args);
EXPECT_TRUE(begin_main_frame_state.scroll_info->EqualsForTesting(
*new_begin_main_frame_state.scroll_info.get()));
- EXPECT_EQ(new_begin_main_frame_state.memory_allocation_limit_bytes,
- begin_main_frame_state.memory_allocation_limit_bytes);
EXPECT_EQ(new_begin_main_frame_state.evicted_ui_resources,
begin_main_frame_state.evicted_ui_resources);
}
« no previous file with comments | « cc/trees/layer_tree_settings.cc ('k') | cc/trees/proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698