| Index: third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
|
| index 9eb113c271eb2b5925b3f1b47ab2827c34e0d924..0c2fc8aaa9306b60204142e3eec70128e384d900 100644
|
| --- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
|
| @@ -34,6 +34,11 @@ struct PrePaintTreeWalkContext {
|
| };
|
|
|
| void PrePaintTreeWalk::walk(FrameView& rootFrame) {
|
| + //LOG(INFO) << "sizeOf(PrePaintTreeWalkContext): " << sizeof(PrePaintTreeWalkContext);
|
| + //LOG(INFO) << "sizeOf(PaintPropertyTreeBuilderContext): " << sizeof(PaintPropertyTreeBuilderContext);
|
| + //LOG(INFO) << "sizeOf(PaintInvalidatorContext): " << sizeof(PaintInvalidatorContext);
|
| + //LOG(INFO) << "sizeOf(PaintLayer*): " << sizeof(PaintLayer*);
|
| +
|
| DCHECK(rootFrame.frame().document()->lifecycle().state() ==
|
| DocumentLifecycle::InPrePaint);
|
|
|
| @@ -45,14 +50,14 @@ void PrePaintTreeWalk::walk(FrameView& rootFrame) {
|
| }
|
|
|
| bool PrePaintTreeWalk::walk(FrameView& frameView,
|
| - const PrePaintTreeWalkContext& parentContext) {
|
| + PrePaintTreeWalkContext& context) {
|
| if (frameView.shouldThrottleRendering()) {
|
| // The walk was interrupted by throttled rendering so this subtree was not
|
| // fully updated.
|
| return false;
|
| }
|
|
|
| - PrePaintTreeWalkContext context(parentContext);
|
| + //PrePaintTreeWalkContext context(parentContext);
|
| m_propertyTreeBuilder.updateProperties(frameView, context.treeBuilderContext);
|
| m_paintInvalidator.invalidatePaintIfNeeded(frameView,
|
| context.paintInvalidatorContext);
|
| @@ -99,8 +104,8 @@ static void updateAuxiliaryObjectProperties(const LayoutObject& object,
|
| }
|
|
|
| bool PrePaintTreeWalk::walk(const LayoutObject& object,
|
| - const PrePaintTreeWalkContext& parentContext) {
|
| - PrePaintTreeWalkContext context(parentContext);
|
| + PrePaintTreeWalkContext& context) {
|
| + //PrePaintTreeWalkContext context(parentContext);
|
|
|
| // This must happen before updateContextForBoxPosition, because the
|
| // latter reads some of the state computed uere.
|
|
|