| Index: cc/CCLayerTreeHostTest.cpp
|
| diff --git a/cc/CCLayerTreeHostTest.cpp b/cc/CCLayerTreeHostTest.cpp
|
| index 129fa613579f66d72857015f5427280eaca8333f..5f1548000347b85bcff545c0a237113df91492d4 100644
|
| --- a/cc/CCLayerTreeHostTest.cpp
|
| +++ b/cc/CCLayerTreeHostTest.cpp
|
| @@ -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;
|
| }
|
| }
|
| @@ -2533,7 +2533,7 @@ public:
|
| virtual ~EvictTexturesTask() { }
|
| virtual void run() OVERRIDE
|
| {
|
| - ASSERT(m_test->m_implForEvictTextures);
|
| + DCHECK(m_test->m_implForEvictTextures);
|
| m_test->m_implForEvictTextures->releaseContentsTextures();
|
| }
|
|
|
| @@ -2543,7 +2543,7 @@ public:
|
|
|
| void postEvictTextures()
|
| {
|
| - ASSERT(webThread());
|
| + DCHECK(webThread());
|
| webThread()->postTask(new EvictTexturesTask(this));
|
| }
|
|
|
| @@ -2593,7 +2593,7 @@ public:
|
| endTest();
|
| break;
|
| default:
|
| - ASSERT_NOT_REACHED();
|
| + NOTREACHED();
|
| break;
|
| }
|
| }
|
| @@ -2626,7 +2626,7 @@ public:
|
| postEvictTextures();
|
| break;
|
| default:
|
| - ASSERT_NOT_REACHED();
|
| + NOTREACHED();
|
| break;
|
| }
|
| m_layer->resetUpdated();
|
| @@ -2691,7 +2691,7 @@ public:
|
|
|
| void evictTexturesOnImplThread()
|
| {
|
| - ASSERT(m_implForEvictTextures);
|
| + DCHECK(m_implForEvictTextures);
|
| m_implForEvictTextures->releaseContentsTextures();
|
| }
|
|
|
|
|