Index: third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
index 2e789edc90e4153587f76fda2c710013fb478f7d..362326283e9e6eef30159a4b5bf83bd36f706ad2 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
@@ -28,7 +28,7 @@ namespace blink { |
class GraphicsLayer; |
class GraphicsContext; |
-static const size_t kInitialDisplayItemListCapacity = 64; |
+static const size_t kInitialDisplayItemListCapacityBytes = 512; |
// Responsible for processing display items as they are produced, and producing |
// a final paint artifact when complete. This class includes logic for caching, |
@@ -162,7 +162,7 @@ public: |
protected: |
PaintController() |
- : m_newDisplayItemList(kInitialDisplayItemListCapacity * kMaximumDisplayItemSize) |
+ : m_newDisplayItemList(kInitialDisplayItemListCapacityBytes) |
, m_validlyCachedClientsDirty(false) |
, m_constructionDisabled(false) |
, m_textPainted(false) |