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

Unified Diff: cc/layer_impl.cc

Issue 11465007: Move LayerSorter to exist locally only in layer_tree_host_common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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/layer_impl.h ('k') | cc/layer_tree_host_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_impl.cc
diff --git a/cc/layer_impl.cc b/cc/layer_impl.cc
index f87a622ea5f471a907c3ca9635fda443a9dbd8ff..2b78195fbc6bf305b71266bd4dc040ca8c25fe9b 100644
--- a/cc/layer_impl.cc
+++ b/cc/layer_impl.cc
@@ -8,7 +8,6 @@
#include "base/stringprintf.h"
#include "cc/debug_border_draw_quad.h"
#include "cc/debug_colors.h"
-#include "cc/layer_sorter.h"
#include "cc/layer_tree_host_impl.h"
#include "cc/math_util.h"
#include "cc/proxy.h"
@@ -316,12 +315,6 @@ void LayerImpl::dumpLayerProperties(std::string* str, int indent) const
base::StringAppendF(str, "drawsContent: %s\n", m_drawsContent ? "yes" : "no");
}
-void sortLayers(std::vector<LayerImpl*>::iterator first, std::vector<LayerImpl*>::iterator end, LayerSorter* layerSorter)
-{
- TRACE_EVENT0("cc", "LayerImpl::sortLayers");
- layerSorter->sort(first, end);
-}
-
std::string LayerImpl::layerTreeAsText() const
{
std::string str;
« no previous file with comments | « cc/layer_impl.h ('k') | cc/layer_tree_host_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698