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

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

Issue 2695593005: Avoid false-positives of paint offset change detection (Closed)
Patch Set: Created 3 years, 10 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 c4386dc28f16417b15beb3c673e7f263c47a8098..200d64a1477c839881c790375bbe65e5904d9b5d 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
@@ -15,6 +15,7 @@
namespace blink {
class FrameView;
+class LayoutBoxModelObject;
class LayoutObject;
// The context for PaintPropertyTreeBuilder.
@@ -116,8 +117,10 @@ class PaintPropertyTreeBuilder {
PaintPropertyTreeBuilderContext&);
private:
+ ALWAYS_INLINE static void updatePaintOffset(const LayoutBoxModelObject&,
pdr. 2017/02/14 05:18:41 We need to update the comment above updateContextF
Xianzhu 2017/02/14 19:23:34 Done.
+ PaintPropertyTreeBuilderContext&);
ALWAYS_INLINE static void updatePaintOffsetTranslation(
- const LayoutObject&,
+ const LayoutBoxModelObject&,
PaintPropertyTreeBuilderContext&);
ALWAYS_INLINE static void updateTransform(const LayoutObject&,
PaintPropertyTreeBuilderContext&);

Powered by Google App Engine
This is Rietveld 408576698