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

Unified Diff: cc/trees/layer_tree_host_common.cc

Issue 12965007: Fix cpplint errors in cc/(animation|input|layers|trees|test)/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 months 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/trees/layer_tree_host_common.h ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_common.cc
diff --git a/cc/trees/layer_tree_host_common.cc b/cc/trees/layer_tree_host_common.cc
index 1501b0e1fabcce70bad2c4f459d1eb8871d23c8c..ddad5415461fcd642785460df6f9066bfb5d0cce 100644
--- a/cc/trees/layer_tree_host_common.cc
+++ b/cc/trees/layer_tree_host_common.cc
@@ -178,7 +178,6 @@ static gfx::Rect CalculateVisibleContentRect(
static inline bool TransformToParentIsKnown(LayerImpl* layer) { return true; }
static inline bool TransformToParentIsKnown(Layer* layer) {
-
return !layer->TransformIsAnimating();
}
@@ -766,8 +765,8 @@ static void CalculateDrawPropertiesInternal(
// Tr[replica] * Tr[origin2anchor].inverse()
//
- // If we early-exit anywhere in this function, the drawable_content_rect of this
- // subtree should be considered empty.
+ // If we early-exit anywhere in this function, the drawable_content_rect of
+ // this subtree should be considered empty.
*drawable_content_rect_of_subtree = gfx::Rect();
// The root layer cannot skip CalcDrawProperties.
« no previous file with comments | « cc/trees/layer_tree_host_common.h ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698