Index: cc/draw_quad.cc |
diff --git a/cc/draw_quad.cc b/cc/draw_quad.cc |
index b3fd5534ee56fbc03ce3940a6a7f7a69b889edb7..27e933bd57823dd0c51b53ea6c6cfa2ec5fc6e9c 100644 |
--- a/cc/draw_quad.cc |
+++ b/cc/draw_quad.cc |
@@ -2,8 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "config.h" |
- |
#include "cc/draw_quad.h" |
#include "base/logging.h" |
@@ -84,7 +82,7 @@ scoped_ptr<DrawQuad> DrawQuad::copy(const SharedQuadState* copiedSharedQuadState |
break; |
case RenderPass: // RenderPass quads have their own copy() method. |
case Invalid: |
- CRASH(); |
+ LOG(FATAL) << "Invalid DrawQuad material " << material(); |
break; |
} |
copyQuad->setSharedQuadState(copiedSharedQuadState); |