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

Unified Diff: components/display_compositor/gl_helper_unittest.cc

Issue 1943383002: Add display_compositor unittests into components_unittests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 4 years, 8 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: components/display_compositor/gl_helper_unittest.cc
diff --git a/components/display_compositor/gl_helper_unittest.cc b/components/display_compositor/gl_helper_unittest.cc
index abd2d5136968af9e89d310ec27ff7b32b92f6ff2..5800c970cc51fbc18ed3f471167431dd6ea53bef 100644
--- a/components/display_compositor/gl_helper_unittest.cc
+++ b/components/display_compositor/gl_helper_unittest.cc
@@ -1263,6 +1263,7 @@ class GLHelperTest : public testing::Test {
std::unique_ptr<display_compositor::GLHelper> helper_;
std::unique_ptr<display_compositor::GLHelperScaling> helper_scaling_;
std::deque<GLHelperScaling::ScaleOp> x_ops_, y_ops_;
+ base::MessageLoop message_loop_;
Fady Samuel 2016/05/03 18:03:44 Do we use this?
Peng 2016/05/03 18:10:36 Yes. Without it, those tests crash.
};
class GLHelperPixelTest : public GLHelperTest {

Powered by Google App Engine
This is Rietveld 408576698