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

Unified Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h

Issue 2640863003: Inline PrePaintTreeWalk private methods and static functions (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
index a1e7a9f699102c8bfbd4057a8f81d50c1e611ab5..12feaa03fb6b13455ff0c03632ddb6d05e944d3c 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
@@ -115,32 +115,36 @@ class PaintPropertyTreeBuilder {
PaintPropertyTreeBuilderContext&);
private:
- static void updatePaintOffsetTranslation(const LayoutObject&,
- PaintPropertyTreeBuilderContext&);
- static void updateTransform(const LayoutObject&,
- PaintPropertyTreeBuilderContext&);
- static void updateTransformForNonRootSVG(const LayoutObject&,
- PaintPropertyTreeBuilderContext&);
- static void updateEffect(const LayoutObject&,
- PaintPropertyTreeBuilderContext&);
- static void updateCssClip(const LayoutObject&,
- PaintPropertyTreeBuilderContext&);
- static void updateLocalBorderBoxContext(const LayoutObject&,
- PaintPropertyTreeBuilderContext&);
- static void updateScrollbarPaintOffset(const LayoutObject&,
- PaintPropertyTreeBuilderContext&);
- static void updateOverflowClip(const LayoutObject&,
- PaintPropertyTreeBuilderContext&);
- static void updatePerspective(const LayoutObject&,
- PaintPropertyTreeBuilderContext&);
- static void updateSvgLocalToBorderBoxTransform(
+ inline static void updatePaintOffsetTranslation(
pdr. 2017/01/18 18:51:58 After seeing your other inline patch, I was experi
Xianzhu 2017/01/18 19:17:33 I looked into the generated code in a release buil
const LayoutObject&,
PaintPropertyTreeBuilderContext&);
- static void updateScrollAndScrollTranslation(
+ inline static void updateTransform(const LayoutObject&,
+ PaintPropertyTreeBuilderContext&);
+ inline static void updateTransformForNonRootSVG(
const LayoutObject&,
PaintPropertyTreeBuilderContext&);
- static void updateOutOfFlowContext(const LayoutObject&,
- PaintPropertyTreeBuilderContext&);
+ inline static void updateEffect(const LayoutObject&,
+ PaintPropertyTreeBuilderContext&);
+ inline static void updateCssClip(const LayoutObject&,
+ PaintPropertyTreeBuilderContext&);
+ inline static void updateLocalBorderBoxContext(
+ const LayoutObject&,
+ PaintPropertyTreeBuilderContext&);
+ inline static void updateScrollbarPaintOffset(
+ const LayoutObject&,
+ PaintPropertyTreeBuilderContext&);
+ inline static void updateOverflowClip(const LayoutObject&,
+ PaintPropertyTreeBuilderContext&);
+ inline static void updatePerspective(const LayoutObject&,
+ PaintPropertyTreeBuilderContext&);
+ inline static void updateSvgLocalToBorderBoxTransform(
+ const LayoutObject&,
+ PaintPropertyTreeBuilderContext&);
+ inline static void updateScrollAndScrollTranslation(
+ const LayoutObject&,
+ PaintPropertyTreeBuilderContext&);
+ inline static void updateOutOfFlowContext(const LayoutObject&,
+ PaintPropertyTreeBuilderContext&);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698