summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_navigation_controller.cc
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-19 01:08:28 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-19 01:08:28 +0000
commit234ebdecf98582ca141b9066b1e5f4f74d3bdbff (patch)
tree3498acf977a2a37fcfb823a0b1d5b0ec59f1afbc /webkit/tools/test_shell/test_navigation_controller.cc
parent64d0ff791dc2a4e9f0b397589d25eb510da82ee8 (diff)
downloadchromium_src-234ebdecf98582ca141b9066b1e5f4f74d3bdbff.zip
chromium_src-234ebdecf98582ca141b9066b1e5f4f74d3bdbff.tar.gz
chromium_src-234ebdecf98582ca141b9066b1e5f4f74d3bdbff.tar.bz2
Fix a bunch of linux test shell crashes by removing an old stub out hack.
Review URL: http://codereview.chromium.org/11805 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5661 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_navigation_controller.cc')
-rw-r--r--webkit/tools/test_shell/test_navigation_controller.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/webkit/tools/test_shell/test_navigation_controller.cc b/webkit/tools/test_shell/test_navigation_controller.cc
index 0c56115..cf9bff5 100644
--- a/webkit/tools/test_shell/test_navigation_controller.cc
+++ b/webkit/tools/test_shell/test_navigation_controller.cc
@@ -34,8 +34,6 @@ void TestNavigationEntry::SetContentState(const std::string& state) {
}
WebHistoryItem* TestNavigationEntry::GetHistoryItem() const {
- // TODO(port): temporary hack to get a basic test shell executable going.
-#if !defined(OS_LINUX)
if (!cached_history_item_) {
TestShellExtraRequestData* extra_data =
new TestShellExtraRequestData(GetPageID());
@@ -43,7 +41,6 @@ WebHistoryItem* TestNavigationEntry::GetHistoryItem() const {
WebHistoryItem::Create(GetURL(), GetTitle(), GetContentState(),
extra_data);
}
-#endif
return cached_history_item_;
}