Commit dd031e5f authored by Zhuoyu Qian's avatar Zhuoyu Qian Committed by Commit Bot

Rename PaintPropertyTreePrinter namepsace to paint_property_tree_printer

https://google.github.io/styleguide/cppguide.html#Namespace_Names
> Namespace names are all lower-case.

This CL has no behavior changes.

Bug: 889726
Change-Id: I150167dadb44bac77af2145f9a87ffa9d0e769c2
Reviewed-on: https://chromium-review.googlesource.com/c/1293291Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
Commit-Queue: Zhuoyu Qian <zhuoyu.qian@samsung.com>
Cr-Commit-Position: refs/heads/master@{#601504}
parent 46e43be6
......@@ -98,7 +98,7 @@ void VisualViewportPaintPropertyTreeBuilder::Update(
context.fixed_position.scroll = visual_viewport.GetScrollNode();
#if DCHECK_IS_ON()
PaintPropertyTreePrinter::UpdateDebugNames(visual_viewport);
paint_property_tree_printer::UpdateDebugNames(visual_viewport);
#endif
}
......@@ -142,7 +142,7 @@ class FragmentPaintPropertyTreeBuilder {
}
#if DCHECK_IS_ON()
if (properties_)
PaintPropertyTreePrinter::UpdateDebugNames(object_, *properties_);
paint_property_tree_printer::UpdateDebugNames(object_, *properties_);
#endif
}
......
......@@ -163,7 +163,7 @@ void SetDebugName(const PropertyTreeNode* node,
} // namespace
namespace PaintPropertyTreePrinter {
namespace paint_property_tree_printer {
void UpdateDebugNames(const VisualViewport& viewport) {
viewport.GetPageScaleNode()->SetDebugName("VisualViewport Scale Node");
......@@ -212,7 +212,7 @@ void UpdateDebugNames(const LayoutObject& object,
SetDebugName(properties.Scroll(), "Scroll", object);
}
} // namespace PaintPropertyTreePrinter
} // namespace paint_property_tree_printer
} // namespace blink
......
......@@ -17,12 +17,12 @@ class LayoutObject;
class ObjectPaintProperties;
class VisualViewport;
namespace PaintPropertyTreePrinter {
namespace paint_property_tree_printer {
void UpdateDebugNames(const VisualViewport&);
void UpdateDebugNames(const LayoutObject&, ObjectPaintProperties&);
} // namespace PaintPropertyTreePrinter
} // namespace paint_property_tree_printer
} // namespace blink
......
......@@ -321,6 +321,8 @@ _CONFIG = [
'cc::ContentLayerClient',
'cc::DisplayItemList',
'cc::DrawRecordOp',
'paint_property_tree_printer::UpdateDebugNames',
],
},
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment