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

Unified Diff: cc/trees/layer_tree_host.h

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_sorter.cc ('k') | cc/trees/layer_tree_host_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index 61c9e369b4819f0db70f8ba908215ad6e2dcaa23..bbd2259417e50890e5e1ec208053062c8688a909 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -6,6 +6,7 @@
#define CC_TREES_LAYER_TREE_HOST_H_
#include <limits>
+#include <vector>
#include "base/basictypes.h"
#include "base/cancelable_callback.h"
@@ -77,7 +78,7 @@ struct CC_EXPORT RendererCapabilities {
bool avoid_pow2_textures;
};
-class CC_EXPORT LayerTreeHost : public RateLimiterClient {
+class CC_EXPORT LayerTreeHost : NON_EXPORTED_BASE(public RateLimiterClient) {
public:
static scoped_ptr<LayerTreeHost> Create(LayerTreeHostClient* client,
const LayerTreeSettings& settings,
@@ -262,7 +263,7 @@ class CC_EXPORT LayerTreeHost : public RateLimiterClient {
void TriggerPrepaint();
void PrioritizeTextures(const LayerList& render_surface_layer_list,
- OverdrawMetrics* metrics);
+ OverdrawMetrics* metrics);
void SetPrioritiesForSurfaces(size_t surface_memory_bytes);
void SetPrioritiesForLayers(const LayerList& update_list);
size_t CalculateMemoryForRenderSurfaces(const LayerList& update_list);
« no previous file with comments | « cc/trees/layer_sorter.cc ('k') | cc/trees/layer_tree_host_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698