Index: webkit/tools/test_shell/test_navigation_controller.cc |
diff --git a/webkit/tools/test_shell/test_navigation_controller.cc b/webkit/tools/test_shell/test_navigation_controller.cc |
index 8ee20b527c7a2f3ffe6231a5959b8bd76965272f..830073c754cf3c2011b8d968bf08abc835b1d72b 100644 |
--- a/webkit/tools/test_shell/test_navigation_controller.cc |
+++ b/webkit/tools/test_shell/test_navigation_controller.cc |
@@ -34,6 +34,7 @@ void TestNavigationEntry::SetContentState(const std::string& state) { |
} |
WebHistoryItem* TestNavigationEntry::GetHistoryItem() const { |
+#if not defined(OS_LINUX) // TODO(port): temporary hack. |
if (!cached_history_item_) { |
TestShellExtraRequestData* extra_data = |
new TestShellExtraRequestData(GetPageID()); |
@@ -41,6 +42,7 @@ WebHistoryItem* TestNavigationEntry::GetHistoryItem() const { |
WebHistoryItem::Create(GetURL(), GetTitle(), GetContentState(), |
extra_data); |
} |
+#endif |
return cached_history_item_; |
} |