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

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: 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/layers/io_surface_layer_impl_unittest.cc ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6266defb0686be42185b4cebd627e804ae1825ce..dac07a176c7d619da6e5e8e11ff5149209ed6bbe 100644
--- a/cc/trees/layer_tree_host_impl_unittest.cc
+++ b/cc/trees/layer_tree_host_impl_unittest.cc
@@ -26,7 +26,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"
@@ -7195,13 +7194,6 @@ TEST_F(LayerTreeHostImplTest, LayersFreeTextures) {
video_layer->SetDrawsContent(true);
root_layer->AddChild(std::move(video_layer));
- std::unique_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());
« no previous file with comments | « cc/layers/io_surface_layer_impl_unittest.cc ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698