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

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

Issue 2811023002: Move LayoutBoxModelObject's PaintLayer member to rare paint data (Closed)
Patch Set: Minor cleanup Created 3 years, 8 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 d1d382e325d830968c10971c48ae0237a87206c3..e1b9f500e9d4752b0dbfbaf93a3988cca740fe7b 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -417,9 +417,6 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
PropertyTreeState ContentsProperties() const;
private:
- RarePaintData& EnsureRarePaintData();
- RarePaintData* GetRarePaintData() { return rare_paint_data_.get(); }
-
//////////////////////////////////////////
// Helper functions. Dangerous to use!
void SetPreviousSibling(LayoutObject* previous) { previous_ = previous; }
@@ -2108,6 +2105,9 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
bitfields_.SetPreviousOutlineMayBeAffectedByDescendants(b);
}
+ RarePaintData& EnsureRarePaintData();
+ RarePaintData* GetRarePaintData() const { return rare_paint_data_.get(); }
+
private:
// Used only by applyFirstLineChanges to get a first line style based off of a
// given new style, without accessing the cache.
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp ('k') | third_party/WebKit/Source/core/paint/RarePaintData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698