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

Side by Side Diff: cc/output/texture_mailbox_deleter_unittest.cc

Issue 1144693002: cc: Move files out of cc/resources/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resources: android Created 5 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 unified diff | Download patch
« no previous file with comments | « cc/output/texture_mailbox_deleter.cc ('k') | cc/playback/clip_display_item.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/resources/texture_mailbox_deleter.h" 5 #include "cc/output/texture_mailbox_deleter.h"
6 6
7 #include "base/single_thread_task_runner.h" 7 #include "base/single_thread_task_runner.h"
8 #include "base/thread_task_runner_handle.h" 8 #include "base/thread_task_runner_handle.h"
9 #include "cc/resources/single_release_callback.h" 9 #include "cc/resources/single_release_callback.h"
10 #include "cc/test/test_context_provider.h" 10 #include "cc/test/test_context_provider.h"
11 #include "cc/test/test_web_graphics_context_3d.h" 11 #include "cc/test/test_web_graphics_context_3d.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 namespace cc { 14 namespace cc {
15 namespace { 15 namespace {
(...skipping 23 matching lines...) Expand all
39 EXPECT_TRUE(context_provider->HasOneRef()); 39 EXPECT_TRUE(context_provider->HasOneRef());
40 EXPECT_EQ(0u, context_provider->TestContext3d()->NumTextures()); 40 EXPECT_EQ(0u, context_provider->TestContext3d()->NumTextures());
41 41
42 // Run the scoped release callback before destroying it, but it won't do 42 // Run the scoped release callback before destroying it, but it won't do
43 // anything. 43 // anything.
44 cb->Run(0, false); 44 cb->Run(0, false);
45 } 45 }
46 46
47 } // namespace 47 } // namespace
48 } // namespace cc 48 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/texture_mailbox_deleter.cc ('k') | cc/playback/clip_display_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698