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

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

Issue 1497873002: Make DisplayItemClient an interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 5 years 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 452d1633e847ccc7eaea35cea054db101f70c4d0..b38d435b9fb52f73c431ef42cc95d1b38f0cab0a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -204,7 +204,7 @@ const int showTreeCharacterOffset = 39;
// preferredLogicalWidthsDirty.
//
// See the individual getters below for more details about what each width is.
-class CORE_EXPORT LayoutObject : public ImageResourceClient {
+class CORE_EXPORT LayoutObject : public ImageResourceClient, public DisplayItemClient {
friend class LayoutObjectChildList;
WTF_MAKE_NONCOPYABLE(LayoutObject);
public:
@@ -1295,9 +1295,7 @@ public:
virtual LayoutRect viewRect() const;
- DisplayItemClient displayItemClient() const { return toDisplayItemClient(this); }
-
- void invalidateDisplayItemClient(const DisplayItemClientWrapper&) const;
+ void invalidateDisplayItemClient(const DisplayItemClient&) const;
void invalidateDisplayItemClientsIncludingNonCompositingDescendants(const LayoutBoxModelObject* paintInvalidationContainer, PaintInvalidationReason, const LayoutRect* paintInvalidationRect) const;
// Called before anonymousChild.setStyle(). Override to set custom styles for the child.

Powered by Google App Engine
This is Rietveld 408576698