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

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

Issue 2886133003: Only call paint property-requiring subroutines if there are actually properties. (Closed)
Patch Set: Merge branch 'master' into paintpropertiesoptimized Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 871cb8e15c1ae5c92c50d1584a02cf1d6cb8fcf7..d07bf0bcf83e2b6f1b72130396889d7b7d374290 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
@@ -17,6 +17,7 @@ namespace blink {
class FrameView;
class LayoutBoxModelObject;
class LayoutObject;
+class ObjectPaintProperties;
// The context for PaintPropertyTreeBuilder.
// It's responsible for bookkeeping tree state in other order, for example, the
@@ -155,22 +156,27 @@ class PaintPropertyTreeBuilder {
bool& force_subtree_update);
ALWAYS_INLINE static void UpdateTransform(
const LayoutObject&,
+ ObjectPaintProperties&,
PaintPropertyTreeBuilderFragmentContext&,
bool& force_subtree_update);
ALWAYS_INLINE static void UpdateTransformForNonRootSVG(
const LayoutObject&,
+ ObjectPaintProperties&,
PaintPropertyTreeBuilderFragmentContext&,
bool& force_subtree_update);
ALWAYS_INLINE static void UpdateEffect(
const LayoutObject&,
+ ObjectPaintProperties&,
PaintPropertyTreeBuilderFragmentContext&,
bool& force_subtree_update);
ALWAYS_INLINE static void UpdateFilter(
const LayoutObject&,
+ ObjectPaintProperties&,
PaintPropertyTreeBuilderFragmentContext&,
bool& force_subtree_update);
ALWAYS_INLINE static void UpdateCssClip(
const LayoutObject&,
+ ObjectPaintProperties&,
PaintPropertyTreeBuilderFragmentContext&,
bool& force_subtree_update);
ALWAYS_INLINE static void UpdateLocalBorderBoxContext(
@@ -179,22 +185,27 @@ class PaintPropertyTreeBuilder {
bool& force_subtree_update);
ALWAYS_INLINE static void UpdateScrollbarPaintOffset(
const LayoutObject&,
+ ObjectPaintProperties&,
PaintPropertyTreeBuilderFragmentContext&,
bool& force_subtree_update);
ALWAYS_INLINE static void UpdateOverflowClip(
const LayoutObject&,
+ ObjectPaintProperties&,
PaintPropertyTreeBuilderFragmentContext&,
bool& force_subtree_update);
ALWAYS_INLINE static void UpdatePerspective(
const LayoutObject&,
+ ObjectPaintProperties&,
PaintPropertyTreeBuilderFragmentContext&,
bool& force_subtree_update);
ALWAYS_INLINE static void UpdateSvgLocalToBorderBoxTransform(
const LayoutObject&,
+ ObjectPaintProperties&,
PaintPropertyTreeBuilderFragmentContext&,
bool& force_subtree_update);
ALWAYS_INLINE static void UpdateScrollAndScrollTranslation(
const LayoutObject&,
+ ObjectPaintProperties&,
PaintPropertyTreeBuilderFragmentContext&,
bool& force_subtree_update);
ALWAYS_INLINE static void UpdateOutOfFlowContext(
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698