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

Unified Diff: cc/layer_tree_host_unittest.cc

Issue 11192030: cc: Switch to Chromium DCHECKs LOGs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebaseonenne Created 8 years, 2 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 | « cc/layer_tree_host_impl_unittest.cc ('k') | cc/math_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_unittest.cc
diff --git a/cc/layer_tree_host_unittest.cc b/cc/layer_tree_host_unittest.cc
index 26a810e1c906d403c8505cafb5a320bdd50c43cc..a91304ebea6a401998bbdcbb87e1059cf15d30a6 100644
--- a/cc/layer_tree_host_unittest.cc
+++ b/cc/layer_tree_host_unittest.cc
@@ -1429,7 +1429,7 @@ public:
context->resetUsedTextures();
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
}
}
@@ -1551,7 +1551,7 @@ public:
context->resetUsedTextures();
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
}
}
@@ -1596,7 +1596,7 @@ public:
m_layerTreeHost->setViewportSize(IntSize(10, 20), IntSize(10, 20));
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
}
}
@@ -2508,7 +2508,7 @@ public:
virtual ~EvictTexturesTask() { }
virtual void run() OVERRIDE
{
- ASSERT(m_test->m_implForEvictTextures);
+ DCHECK(m_test->m_implForEvictTextures);
m_test->m_implForEvictTextures->reduceContentsTextureMemoryOnImplThread(0);
}
@@ -2518,7 +2518,7 @@ public:
void postEvictTextures()
{
- ASSERT(webThread());
+ DCHECK(webThread());
webThread()->postTask(new EvictTexturesTask(this));
}
@@ -2568,7 +2568,7 @@ public:
endTest();
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
}
}
@@ -2601,7 +2601,7 @@ public:
postEvictTextures();
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
}
}
@@ -2665,8 +2665,8 @@ public:
void evictTexturesOnImplThread()
{
- ASSERT(m_implForEvictTextures);
- m_implForEvictTextures->reduceContentsTextureMemoryOnImplThread(0);
+ DCHECK(m_implForEvictTextures);
+ m_implForEvictTextures->reduceContentsTextureMemoryOnImplThread(0);
}
// Commit 1: Just commit and draw normally, then at the end, set ourselves
« no previous file with comments | « cc/layer_tree_host_impl_unittest.cc ('k') | cc/math_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698