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

Unified Diff: cc/test/failure_output_surface.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/test/failure_output_surface.cc
diff --git a/cc/test/failure_output_surface.cc b/cc/test/failure_output_surface.cc
index c0d5fdb0ad805e42b6c612c176316d64b3aba2dd..7a421a115cac03a5e20815b028790cc0fda251c5 100644
--- a/cc/test/failure_output_surface.cc
+++ b/cc/test/failure_output_surface.cc
@@ -4,11 +4,13 @@
#include "cc/test/failure_output_surface.h"
+#include "base/memory/ptr_util.h"
+
namespace cc {
FailureOutputSurface::FailureOutputSurface(bool is_delegating)
- : FakeOutputSurface(static_cast<ContextProvider*>(nullptr), is_delegating) {
-}
+ : FakeOutputSurface(base::WrapUnique<TestContextProvider::Factory>(nullptr),
+ is_delegating) {}
bool FailureOutputSurface::BindToClient(OutputSurfaceClient* client) {
// This will force this output surface to not initialize in LTHI

Powered by Google App Engine
This is Rietveld 408576698