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

Unified Diff: cc/layer_tree_host_unittest_context.cc

Issue 11830013: Revert 175632 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | « no previous file | cc/thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_unittest_context.cc
===================================================================
--- cc/layer_tree_host_unittest_context.cc (revision 175652)
+++ cc/layer_tree_host_unittest_context.cc (working copy)
@@ -780,37 +780,5 @@
SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostContextTestDontUseLostResources)
-class LayerTreeHostContextTestFailsImmediately :
- public LayerTreeHostContextTest {
- public:
- LayerTreeHostContextTestFailsImmediately()
- : LayerTreeHostContextTest() {
- }
-
- virtual ~LayerTreeHostContextTestFailsImmediately() {}
-
- virtual void beginTest() OVERRIDE {
- postSetNeedsCommitToMainThread();
- }
-
- virtual void afterTest() OVERRIDE {
- }
-
- virtual scoped_ptr<FakeWebGraphicsContext3D> CreateContext3d() OVERRIDE {
- scoped_ptr<FakeWebGraphicsContext3D> context =
- LayerTreeHostContextTest::CreateContext3d();
- context->loseContextCHROMIUM();
- return context.Pass();
- }
-
- virtual void didRecreateOutputSurface(bool succeeded) OVERRIDE {
- EXPECT_FALSE(succeeded);
- // If we make it this far without crashing, we pass!
- endTest();
- }
-};
-
-SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostContextTestFailsImmediately);
-
} // namespace
} // namespace cc
« no previous file with comments | « no previous file | cc/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698