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

Unified Diff: cc/surfaces/surface_display_output_surface_unittest.cc

Issue 2144733005: [WIP] cc: Plumb SurfaceId from clients Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure only SurfaceFactoy and tests can update hierarchy Created 4 years, 5 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/surfaces/surface_display_output_surface.cc ('k') | cc/surfaces/surface_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_display_output_surface_unittest.cc
diff --git a/cc/surfaces/surface_display_output_surface_unittest.cc b/cc/surfaces/surface_display_output_surface_unittest.cc
index a5f530c8af5ec58f1f0e0ebdef4d45640b207416..386db67cc990b33d6cf8f834ffd2a83cdd43a8c0 100644
--- a/cc/surfaces/surface_display_output_surface_unittest.cc
+++ b/cc/surfaces/surface_display_output_surface_unittest.cc
@@ -23,7 +23,7 @@
#include "testing/gtest/include/gtest/gtest.h"
namespace cc {
-namespace {
+namespace test {
static constexpr int kArbitraryClientId = 0;
@@ -36,8 +36,6 @@ class SurfaceDisplayOutputSurfaceTest : public testing::Test {
display_size_(1920, 1080),
display_rect_(display_size_),
context_provider_(TestContextProvider::Create()) {
- surface_manager_.RegisterSurfaceClientId(allocator_.client_id());
-
std::unique_ptr<FakeOutputSurface> display_output_surface =
FakeOutputSurface::Create3d();
display_output_surface_ = display_output_surface.get();
« no previous file with comments | « cc/surfaces/surface_display_output_surface.cc ('k') | cc/surfaces/surface_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698