Index: cc/layer_tree_host_unittest.cc |
diff --git a/cc/layer_tree_host_unittest.cc b/cc/layer_tree_host_unittest.cc |
index db9ec89b8f204dedfbc152b28b1b7c056d70236b..09ade5b36843bf9e75c6c80b1f603f84f79a97c1 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; |
} |
} |
@@ -2507,7 +2507,7 @@ public: |
virtual ~EvictTexturesTask() { } |
virtual void run() OVERRIDE |
{ |
- ASSERT(m_test->m_implForEvictTextures); |
+ CC_DCHECK(m_test->m_implForEvictTextures); |
m_test->m_implForEvictTextures->releaseContentsTextures(); |
} |
@@ -2517,7 +2517,7 @@ public: |
void postEvictTextures() |
{ |
- ASSERT(webThread()); |
+ CC_DCHECK(webThread()); |
webThread()->postTask(new EvictTexturesTask(this)); |
} |
@@ -2567,7 +2567,7 @@ public: |
endTest(); |
break; |
default: |
- ASSERT_NOT_REACHED(); |
+ NOTREACHED(); |
break; |
} |
} |
@@ -2600,7 +2600,7 @@ public: |
postEvictTextures(); |
break; |
default: |
- ASSERT_NOT_REACHED(); |
+ NOTREACHED(); |
break; |
} |
} |
@@ -2664,7 +2664,7 @@ public: |
void evictTexturesOnImplThread() |
{ |
- ASSERT(m_implForEvictTextures); |
+ CC_DCHECK(m_implForEvictTextures); |
m_implForEvictTextures->releaseContentsTextures(); |
} |