| Index: cc/layer_tree_host_unittest.cc
|
| diff --git a/cc/layer_tree_host_unittest.cc b/cc/layer_tree_host_unittest.cc
|
| index 430e6441b6740cef67b121987c08cf84cc0b195c..dcce06ca22f0870ed41758e71a54d0616937f058 100644
|
| --- a/cc/layer_tree_host_unittest.cc
|
| +++ b/cc/layer_tree_host_unittest.cc
|
| @@ -1429,7 +1429,7 @@ public:
|
| context->resetUsedTextures();
|
| break;
|
| default:
|
| - NOTREACHED();
|
| + ASSERT_NOT_REACHED();
|
| break;
|
| }
|
| }
|
| @@ -1551,7 +1551,7 @@ public:
|
| context->resetUsedTextures();
|
| break;
|
| default:
|
| - NOTREACHED();
|
| + ASSERT_NOT_REACHED();
|
| break;
|
| }
|
| }
|
| @@ -1596,7 +1596,7 @@ public:
|
| m_layerTreeHost->setViewportSize(IntSize(10, 20), IntSize(10, 20));
|
| break;
|
| default:
|
| - NOTREACHED();
|
| + ASSERT_NOT_REACHED();
|
| break;
|
| }
|
| }
|
| @@ -2506,7 +2506,7 @@ public:
|
| virtual ~EvictTexturesTask() { }
|
| virtual void run() OVERRIDE
|
| {
|
| - DCHECK(m_test->m_implForEvictTextures);
|
| + ASSERT(m_test->m_implForEvictTextures);
|
| m_test->m_implForEvictTextures->releaseContentsTextures();
|
| }
|
|
|
| @@ -2516,7 +2516,7 @@ public:
|
|
|
| void postEvictTextures()
|
| {
|
| - DCHECK(webThread());
|
| + ASSERT(webThread());
|
| webThread()->postTask(new EvictTexturesTask(this));
|
| }
|
|
|
| @@ -2566,7 +2566,7 @@ public:
|
| endTest();
|
| break;
|
| default:
|
| - NOTREACHED();
|
| + ASSERT_NOT_REACHED();
|
| break;
|
| }
|
| }
|
| @@ -2599,7 +2599,7 @@ public:
|
| postEvictTextures();
|
| break;
|
| default:
|
| - NOTREACHED();
|
| + ASSERT_NOT_REACHED();
|
| break;
|
| }
|
| }
|
| @@ -2663,7 +2663,7 @@ public:
|
|
|
| void evictTexturesOnImplThread()
|
| {
|
| - DCHECK(m_implForEvictTextures);
|
| + ASSERT(m_implForEvictTextures);
|
| m_implForEvictTextures->releaseContentsTextures();
|
| }
|
|
|
|
|