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

Unified Diff: cc/draw_quad.cc

Issue 11410021: Remove WTF and WebCore from cc/ and webkit/compositor_bindings/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix content_browsertests Created 8 years, 1 month 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/direct_renderer.cc ('k') | cc/draw_quad_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « cc/direct_renderer.cc ('k') | cc/draw_quad_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698