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

Unified Diff: cc/trees/draw_property_utils.cc

Issue 2762043005: cc : Delete target id and content target id from transform nodes (Closed)
Patch Set: Created 3 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 | « no previous file | cc/trees/property_tree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/draw_property_utils.cc
diff --git a/cc/trees/draw_property_utils.cc b/cc/trees/draw_property_utils.cc
index 85d73a5e71de2778a62e119f9a56501d08c80a60..63c65ac811bb1dcae76f3c23dce436e3c708fa69 100644
--- a/cc/trees/draw_property_utils.cc
+++ b/cc/trees/draw_property_utils.cc
@@ -25,8 +25,6 @@ namespace cc {
namespace draw_property_utils {
-namespace {
jaydasika 2017/03/21 21:25:55 I don't see any reason to have a separate namespac
weiliangc 2017/03/21 21:34:57 It is used since these are local helper functions.
jaydasika 2017/03/21 22:05:36 It says either make the functions static OR put th
-
static bool IsRootLayer(const Layer* layer) {
return !layer->parent();
}
@@ -404,10 +402,6 @@ static bool LayerNeedsUpdateInternal(LayerType* layer,
return true;
}
-
-
-} // namespace
-
template <typename LayerType>
static inline bool LayerShouldBeSkippedInternal(
LayerType* layer,
« no previous file with comments | « no previous file | cc/trees/property_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698