Index: Source/core/loader/HistoryController.cpp |
diff --git a/Source/core/loader/HistoryController.cpp b/Source/core/loader/HistoryController.cpp |
index 2a93d71cf7bcf3717b2d4c632688cb9d0359a068..d07a446a178f4a9986dd7aac0adbcb5936779124 100644 |
--- a/Source/core/loader/HistoryController.cpp |
+++ b/Source/core/loader/HistoryController.cpp |
@@ -436,11 +436,10 @@ void HistoryController::setCurrentItem(HistoryItem* item) |
m_currentItem = item; |
} |
-void HistoryController::setCurrentItemTitle(const StringWithDirection& title) |
+void HistoryController::setCurrentItemTitle(const String& title) |
{ |
if (m_currentItem) |
- // FIXME: make use of title.direction() as well. |
- m_currentItem->setTitle(title.string()); |
+ m_currentItem->setTitle(title); |
} |
bool HistoryController::currentItemShouldBeReplaced() const |