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

Unified Diff: cc/raster/scoped_gpu_raster_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/raster/scoped_gpu_raster_unittest.cc
diff --git a/cc/raster/scoped_gpu_raster_unittest.cc b/cc/raster/scoped_gpu_raster_unittest.cc
index 0451d412fc2f62b3ab592b553a82c4e612f493fa..f3d93a5e4a9abc21c8f26ca9cb3bb5d35fdf399a 100644
--- a/cc/raster/scoped_gpu_raster_unittest.cc
+++ b/cc/raster/scoped_gpu_raster_unittest.cc
@@ -17,7 +17,6 @@ class ScopedGpuRasterTest : public testing::Test {
// Releasing ScopedGpuRaster should restore GL_UNPACK_ALIGNMENT == 4.
TEST(ScopedGpuRasterTest, RestoresUnpackAlignment) {
scoped_refptr<TestContextProvider> provider = TestContextProvider::Create();
- EXPECT_TRUE(provider->BindToCurrentThread());
gpu::gles2::GLES2Interface* gl = provider->ContextGL();
GLint unpack_alignment = 0;
gl->GetIntegerv(GL_UNPACK_ALIGNMENT, &unpack_alignment);

Powered by Google App Engine
This is Rietveld 408576698