Chromium Code Reviews| Index: third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h |
| diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h |
| similarity index 69% |
| rename from third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h |
| rename to third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h |
| index cdfacadf945ad812cc28a4139c59f31185ec95f7..8e3ee6df9dad482b1c2e726582cf2623e1169d33 100644 |
| --- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h |
| +++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h |
| @@ -2,29 +2,29 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef PaintPropertyTreeBuilder_h |
| -#define PaintPropertyTreeBuilder_h |
| +#ifndef PrePaintTreeWalk_h |
| +#define PrePaintTreeWalk_h |
| namespace blink { |
| class FrameView; |
| class LayoutObject; |
| -struct PaintPropertyTreeBuilderContext; |
| +struct PrePaintTreeWalkContext; |
| // This class walks the whole layout tree, beginning from the root FrameView, across |
| // frame boundaries. The walk will collect special things in the layout tree and create |
| // paint property nodes for them. Special things include but not limit to: overflow clip, |
| // transform, fixed-pos, animation, mask, filter, ... etc. |
| // It expects to be invoked after layout clean, i.e. during InPaintPropertyUpdate phase. |
|
pdr.
2016/03/12 04:04:25
Nit: this comment should be updated to not use InP
Xianzhu
2016/03/14 18:56:04
Done.
|
| -class PaintPropertyTreeBuilder { |
| +class PrePaintTreeWalk { |
| public: |
| void buildPropertyTrees(FrameView& rootFrame); |
| private: |
| - void walk(FrameView&, const PaintPropertyTreeBuilderContext&); |
| - void walk(LayoutObject&, const PaintPropertyTreeBuilderContext&); |
| + void walk(FrameView&, const PrePaintTreeWalkContext&); |
| + void walk(LayoutObject&, const PrePaintTreeWalkContext&); |
| }; |
| } // namespace blink |
| -#endif // PaintPropertyTreeBuilder_h |
| +#endif // PrePaintTreeWalk_h |