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

Side by Side Diff: third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp

Issue 2060053002: Set paintingLayerNeedsRepaint() in layout tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Set paintingLayerNeedsRepaint() in layout tree Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/paint/PrePaintTreeWalk.h" 5 #include "core/paint/PrePaintTreeWalk.h"
6 6
7 #include "core/dom/DocumentLifecycle.h" 7 #include "core/dom/DocumentLifecycle.h"
8 #include "core/frame/FrameView.h" 8 #include "core/frame/FrameView.h"
9 #include "core/frame/LocalFrame.h" 9 #include "core/frame/LocalFrame.h"
10 #include "core/layout/LayoutMultiColumnSpannerPlaceholder.h" 10 #include "core/layout/LayoutMultiColumnSpannerPlaceholder.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 if (object.isLayoutMultiColumnSpannerPlaceholder()) 64 if (object.isLayoutMultiColumnSpannerPlaceholder())
65 walk(*toLayoutMultiColumnSpannerPlaceholder(object).layoutObjectInFlowTh read(), localContext); 65 walk(*toLayoutMultiColumnSpannerPlaceholder(object).layoutObjectInFlowTh read(), localContext);
66 66
67 if (object.isLayoutPart()) { 67 if (object.isLayoutPart()) {
68 Widget* widget = toLayoutPart(object).widget(); 68 Widget* widget = toLayoutPart(object).widget();
69 if (widget && widget->isFrameView()) 69 if (widget && widget->isFrameView())
70 walk(*toFrameView(widget), localContext); 70 walk(*toFrameView(widget), localContext);
71 // TODO(pdr): Investigate RemoteFrameView (crbug.com/579281). 71 // TODO(pdr): Investigate RemoteFrameView (crbug.com/579281).
72 } 72 }
73
74 if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled() && localConte xt.paintInvalidatorContext)
75 m_paintInvalidator.didWalkSubtrees(*localContext.paintInvalidatorContext );
73 } 76 }
74 77
75 } // namespace blink 78 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698