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

Unified Diff: third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp

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/PrePaintTreeWalk.cpp
diff --git a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
index 9eb113c271eb2b5925b3f1b47ab2827c34e0d924..c70249ebd7185e8f41063edfc0df27fe17eca4b4 100644
--- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
+++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
@@ -70,8 +70,9 @@ bool PrePaintTreeWalk::walk(FrameView& frameView,
return descendantsFullyUpdated;
}
-static void updateAuxiliaryObjectProperties(const LayoutObject& object,
- PrePaintTreeWalkContext& context) {
+static inline void updateAuxiliaryObjectProperties(
+ const LayoutObject& object,
+ PrePaintTreeWalkContext& context) {
PaintLayer* paintLayer = nullptr;
if (object.isBoxModelObject() && object.hasLayer())

Powered by Google App Engine
This is Rietveld 408576698