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

Unified Diff: cc/solid_color_layer_impl_unittest.cc

Issue 11369071: A speculative Revert for r165872 - Remove static thread pointers from CC, attempt 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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 | « cc/software_renderer_unittest.cc ('k') | cc/test/fake_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/solid_color_layer_impl_unittest.cc
===================================================================
--- cc/solid_color_layer_impl_unittest.cc (revision 165906)
+++ cc/solid_color_layer_impl_unittest.cc (working copy)
@@ -21,6 +21,8 @@
TEST(SolidColorLayerImplTest, verifyTilingCompleteAndNoOverlap)
{
+ DebugScopedSetImplThread scopedImplThread;
+
MockQuadCuller quadCuller;
gfx::Size layerSize = gfx::Size(800, 600);
gfx::Rect visibleContentRect = gfx::Rect(gfx::Point(), layerSize);
@@ -40,6 +42,8 @@
TEST(SolidColorLayerImplTest, verifyCorrectBackgroundColorInQuad)
{
+ DebugScopedSetImplThread scopedImplThread;
+
SkColor testColor = 0xFFA55AFF;
MockQuadCuller quadCuller;
@@ -63,6 +67,8 @@
TEST(SolidColorLayerImplTest, verifyCorrectOpacityInQuad)
{
+ DebugScopedSetImplThread scopedImplThread;
+
const float opacity = 0.5f;
MockQuadCuller quadCuller;
« no previous file with comments | « cc/software_renderer_unittest.cc ('k') | cc/test/fake_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698