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

Unified Diff: Source/core/layout/FloatingObjects.h

Issue 763173003: Convert RenderBlockFlow code to use FloatingObject references (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: more usage of const with floatingObject Created 5 years, 6 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 | Source/core/layout/FloatingObjects.cpp » ('j') | Source/core/layout/FloatingObjects.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/FloatingObjects.h
diff --git a/Source/core/layout/FloatingObjects.h b/Source/core/layout/FloatingObjects.h
index d8b23de4d17c1503e4c8ddcc599c0b2425532ccd..718f3f8dc7773555a94d47e412c4b8d8b4966123 100644
--- a/Source/core/layout/FloatingObjects.h
+++ b/Source/core/layout/FloatingObjects.h
@@ -142,8 +142,8 @@ public:
void moveAllToFloatInfoMap(LayoutBoxToFloatInfoMap&);
FloatingObject* add(PassOwnPtr<FloatingObject>);
void remove(FloatingObject*);
- void addPlacedObject(FloatingObject*);
- void removePlacedObject(FloatingObject*);
+ void addPlacedObject(FloatingObject&);
+ void removePlacedObject(FloatingObject&);
void setHorizontalWritingMode(bool b = true) { m_horizontalWritingMode = b; }
bool hasLeftObjects() const { return m_leftObjectsCount > 0; }
@@ -174,7 +174,7 @@ private:
}
void increaseObjectsCount(FloatingObject::Type);
void decreaseObjectsCount(FloatingObject::Type);
- FloatingObjectInterval intervalForFloatingObject(FloatingObject*);
+ FloatingObjectInterval intervalForFloatingObject(FloatingObject&);
FloatingObjectSet m_set;
FloatingObjectTree m_placedFloatsTree;
« no previous file with comments | « no previous file | Source/core/layout/FloatingObjects.cpp » ('j') | Source/core/layout/FloatingObjects.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698