Index: Source/core/layout/FloatingObjects.h |
diff --git a/Source/core/layout/FloatingObjects.h b/Source/core/layout/FloatingObjects.h |
index 9d932e259e6710d839d47e71b22f8a702d8624a5..e09bf7406b8f8ab6ceb1860284d88deed6eb36e2 100644 |
--- a/Source/core/layout/FloatingObjects.h |
+++ b/Source/core/layout/FloatingObjects.h |
@@ -145,8 +145,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; } |
@@ -178,7 +178,7 @@ private: |
} |
void increaseObjectsCount(FloatingObject::Type); |
void decreaseObjectsCount(FloatingObject::Type); |
- FloatingObjectInterval intervalForFloatingObject(FloatingObject*); |
+ FloatingObjectInterval intervalForFloatingObject(FloatingObject&); |
FloatingObjectSet m_set; |
FloatingObjectTree m_placedFloatsTree; |