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

Unified Diff: cc/trees/layer_tree_host_impl_unittest.cc

Issue 1869983002: Remove IOSurfaceLayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: cc/trees/layer_tree_host_impl_unittest.cc
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc
index 31b8f56db17ddac7802488d6fab6b035a8f053a4..2099e894ef3e820ba43718da4a2d97c6d3524a2c 100644
--- a/cc/trees/layer_tree_host_impl_unittest.cc
+++ b/cc/trees/layer_tree_host_impl_unittest.cc
@@ -25,7 +25,6 @@
#include "cc/input/top_controls_manager.h"
#include "cc/layers/append_quads_data.h"
#include "cc/layers/heads_up_display_layer_impl.h"
-#include "cc/layers/io_surface_layer_impl.h"
#include "cc/layers/layer_impl.h"
#include "cc/layers/painted_scrollbar_layer_impl.h"
#include "cc/layers/render_surface_impl.h"
@@ -7189,13 +7188,6 @@ TEST_F(LayerTreeHostImplTest, LayersFreeTextures) {
video_layer->SetDrawsContent(true);
root_layer->AddChild(std::move(video_layer));
- scoped_ptr<IOSurfaceLayerImpl> io_surface_layer =
- IOSurfaceLayerImpl::Create(host_impl_->active_tree(), 5);
- io_surface_layer->SetBounds(gfx::Size(10, 10));
- io_surface_layer->SetDrawsContent(true);
- io_surface_layer->SetIOSurfaceProperties(1, gfx::Size(10, 10));
- root_layer->AddChild(std::move(io_surface_layer));
-
host_impl_->active_tree()->SetRootLayer(std::move(root_layer));
EXPECT_EQ(0u, context3d->NumTextures());

Powered by Google App Engine
This is Rietveld 408576698