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

Unified Diff: cc/layer.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/keyframed_animation_curve_unittest.cc ('k') | cc/layer_animation_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer.cc
diff --git a/cc/layer.cc b/cc/layer.cc
index 29fe62a8bfa0b955ca2ced34595e9b4de3e93edb..e300fe08c7278d2a6c5b6ec7f2c31c1e245f6a0e 100644
--- a/cc/layer.cc
+++ b/cc/layer.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/layer.h"
#include "cc/active_animation.h"
@@ -187,8 +185,8 @@ void Layer::removeChild(Layer* child)
void Layer::replaceChild(Layer* reference, scoped_refptr<Layer> newLayer)
{
- ASSERT_ARG(reference, reference);
- ASSERT_ARG(reference, reference->parent() == this);
+ DCHECK(reference);
+ DCHECK_EQ(reference->parent(), this);
if (reference == newLayer)
return;
« no previous file with comments | « cc/keyframed_animation_curve_unittest.cc ('k') | cc/layer_animation_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698