Index: cc/trees/layer_tree_settings.h |
diff --git a/cc/trees/layer_tree_settings.h b/cc/trees/layer_tree_settings.h |
index d3a71cf8ed76dc082ce0914edaa55877d5ba9e55..8c5060c5326c18186054483ad5ccfbac6c1ef82b 100644 |
--- a/cc/trees/layer_tree_settings.h |
+++ b/cc/trees/layer_tree_settings.h |
@@ -5,6 +5,7 @@ |
#ifndef CC_TREES_LAYER_TREE_SETTINGS_H_ |
#define CC_TREES_LAYER_TREE_SETTINGS_H_ |
+#include <limits> |
#include <string> |
#include "base/basictypes.h" |
@@ -15,6 +16,9 @@ |
namespace cc { |
+static const size_t kDefaultMaxTransferBufferUsageBytes = |
danakj
2013/08/23 23:25:39
How about making this a static member of LTSetting
kaanb
2013/08/24 00:25:01
Done.
|
+ std::numeric_limits<size_t>::max(); |
+ |
class CC_EXPORT LayerTreeSettings { |
public: |
LayerTreeSettings(); |
@@ -64,6 +68,7 @@ class CC_EXPORT LayerTreeSettings { |
bool use_map_image; |
std::string compositor_name; |
bool ignore_root_layer_flings; |
+ size_t max_transfer_buffer_usage_bytes; |
LayerTreeDebugState initial_debug_state; |
}; |