diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/android/Layer.cpp')
-rw-r--r-- | Source/WebCore/platform/graphics/android/Layer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/Layer.cpp b/Source/WebCore/platform/graphics/android/Layer.cpp index 4741397..22c40f1 100644 --- a/Source/WebCore/platform/graphics/android/Layer.cpp +++ b/Source/WebCore/platform/graphics/android/Layer.cpp @@ -22,6 +22,8 @@ Layer::Layer() { fChildrenMatrix.reset(); fFlags = 0; + m_hasOverflowChildren = false; + #ifdef DEBUG_TRACK_NEW_DELETE gLayerAllocCount += 1; SkDebugf("Layer new: %d\n", gLayerAllocCount); @@ -39,6 +41,8 @@ Layer::Layer(const Layer& src) : INHERITED() { fChildrenMatrix = src.fChildrenMatrix; fFlags = src.fFlags; + m_hasOverflowChildren = src.m_hasOverflowChildren; + #ifdef DEBUG_TRACK_NEW_DELETE gLayerAllocCount += 1; SkDebugf("Layer copy: %d\n", gLayerAllocCount); |