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

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

Issue 2430813002: Switch to shorter names for property tree storage and updates (Closed)
Patch Set: Created 4 years, 2 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/layout/LayoutObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4f8b434ff4238cd21d3a21f026aad80b845141cd..c4cf35150e68a740cc9b2c61775d1e1e8db32475 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -416,10 +416,10 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
// property tree nodes that are created by the layout object for painting.
// The property nodes are only updated during InUpdatePaintProperties phase
// of the document lifecycle and shall remain immutable during other phases.
- const ObjectPaintProperties* objectPaintProperties() const;
+ const ObjectPaintProperties* paintProperties() const;
private:
- ObjectPaintProperties& ensureObjectPaintProperties();
+ ObjectPaintProperties& ensurePaintProperties();
private:
//////////////////////////////////////////
@@ -1727,12 +1727,12 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
friend class PaintPropertyTreeBuilder;
// The following two functions can be called from PaintPropertyTreeBuilder
// only.
- ObjectPaintProperties& ensureObjectPaintProperties() {
- return m_layoutObject.ensureObjectPaintProperties();
+ ObjectPaintProperties& ensurePaintProperties() {
+ return m_layoutObject.ensurePaintProperties();
}
- ObjectPaintProperties* objectPaintProperties() {
+ ObjectPaintProperties* paintProperties() {
return const_cast<ObjectPaintProperties*>(
- m_layoutObject.objectPaintProperties());
+ m_layoutObject.paintProperties());
}
friend class LayoutObject;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698