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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 2707063003: Don't invalidate rect if it's covered by fully invalidated parent's visual rect (Closed)
Patch Set: Rebaseline on Linux 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/layout/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index 889c6d388be1d9f08cecee4b1bcd5c3dab2690c8..6c0630f4e027e199253684ff6ed6a861e9ea5c2e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -557,6 +557,8 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
isTableRow() || isTableSection();
}
+ bool isTextOrSVGChild() const { return isText() || isSVGChild(); }
+
inline bool isBeforeContent() const;
inline bool isAfterContent() const;
inline bool isBeforeOrAfterContent() const;
@@ -2129,8 +2131,6 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
void checkBlockPositionedObjectsNeedLayout();
#endif
- bool isTextOrSVGChild() const { return isText() || isSVGChild(); }
-
static bool isAllowedToModifyLayoutTreeStructure(Document&);
// Returns the parent for paint invalidation. For LayoutView, returns the

Powered by Google App Engine
This is Rietveld 408576698