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

Unified Diff: cc/trees/layer_tree_host_unittest_context.cc

Issue 2449853004: Getting rid of DelegatedFrameData (Closed)
Patch Set: IsEmpty + rebase Created 4 years, 2 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
Index: cc/trees/layer_tree_host_unittest_context.cc
diff --git a/cc/trees/layer_tree_host_unittest_context.cc b/cc/trees/layer_tree_host_unittest_context.cc
index f41f18f9689c8335a93a7cde970de9fbdd13d6ae..152ce870253452778375789ac730224cb13a6a06 100644
--- a/cc/trees/layer_tree_host_unittest_context.cc
+++ b/cc/trees/layer_tree_host_unittest_context.cc
@@ -880,8 +880,6 @@ class LayerTreeHostContextTestDontUseLostResources
void SetupTree() override {
gpu::gles2::GLES2Interface* gl = child_context_provider_->ContextGL();
- std::unique_ptr<DelegatedFrameData> frame_data(new DelegatedFrameData);
-
std::unique_ptr<RenderPass> pass_for_quad = RenderPass::Create();
pass_for_quad->SetNew(
// AppendOneOfEveryQuadType() makes a RenderPass quad with this id.
@@ -895,9 +893,6 @@ class LayerTreeHostContextTestDontUseLostResources
AddOneOfEveryQuadType(pass.get(), child_resource_provider_.get(),
RenderPassId(2, 1), &mailbox_sync_token);
- frame_data->render_pass_list.push_back(std::move(pass_for_quad));
danakj 2016/10/27 23:06:57 these exist for DelegatedRendererLayer which doesn
Saman Sami 2016/10/28 16:47:36 Done.
- frame_data->render_pass_list.push_back(std::move(pass));
-
ResourceId resource = child_resource_provider_->CreateResource(
gfx::Size(4, 4), ResourceProvider::TEXTURE_HINT_IMMUTABLE, RGBA_8888,
gfx::ColorSpace());

Powered by Google App Engine
This is Rietveld 408576698