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

Unified Diff: cc/output/gl_renderer_unittest.cc

Issue 2009443002: Revert of Consolidate OutputSurface constructors into GL vs Vulkan. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « blimp/client/feature/compositor/blimp_output_surface.cc ('k') | cc/output/output_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer_unittest.cc
diff --git a/cc/output/gl_renderer_unittest.cc b/cc/output/gl_renderer_unittest.cc
index fb263acdca0ba68e58b82a635c16c5de21e2cd10..04f5762c28fc639ae2a4295060656bffec53def2 100644
--- a/cc/output/gl_renderer_unittest.cc
+++ b/cc/output/gl_renderer_unittest.cc
@@ -1139,7 +1139,6 @@
explicit NonReshapableOutputSurface(
std::unique_ptr<TestWebGraphicsContext3D> context3d)
: FakeOutputSurface(TestContextProvider::Create(std::move(context3d)),
- nullptr,
false) {
surface_size_ = gfx::Size(500, 500);
}
@@ -1762,11 +1761,9 @@
class MockOutputSurface : public OutputSurface {
public:
MockOutputSurface()
- : OutputSurface(
- TestContextProvider::Create(
- base::MakeUnique<StrictMock<OutputSurfaceMockContext>>()),
- nullptr,
- nullptr) {
+ : OutputSurface(TestContextProvider::Create(
+ std::unique_ptr<TestWebGraphicsContext3D>(
+ new StrictMock<OutputSurfaceMockContext>))) {
surface_size_ = gfx::Size(100, 100);
}
virtual ~MockOutputSurface() {}
« no previous file with comments | « blimp/client/feature/compositor/blimp_output_surface.cc ('k') | cc/output/output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698