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

Unified Diff: cc/surfaces/display_unittest.cc

Issue 1985973002: Defer compositor context creation to the thread. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: contextfactory: . Created 4 years, 7 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/surfaces/display_unittest.cc
diff --git a/cc/surfaces/display_unittest.cc b/cc/surfaces/display_unittest.cc
index 312c3a4a9da65012ed9833c6baa246ab547be933..0b1ca11d0c707e7507da4179b366ea7b5463ca2a 100644
--- a/cc/surfaces/display_unittest.cc
+++ b/cc/surfaces/display_unittest.cc
@@ -67,7 +67,7 @@ class DisplayTest : public testing::Test {
void SetUpContext(std::unique_ptr<TestWebGraphicsContext3D> context) {
if (context) {
output_surface_ = FakeOutputSurface::Create3d(
- TestContextProvider::Create(std::move(context)));
+ base::MakeUnique<TestContextProvider::Factory>(std::move(context)));
} else {
std::unique_ptr<TestSoftwareOutputDevice> output_device(
new TestSoftwareOutputDevice);

Powered by Google App Engine
This is Rietveld 408576698