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

Unified Diff: webkit/tools/test_shell/test_navigation_controller.cc

Issue 2983: gtk test shell (Closed)
Patch Set: rebase Created 12 years, 2 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 | « webkit/tools/test_shell/SConscript ('k') | webkit/tools/test_shell/test_shell_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
}
« no previous file with comments | « webkit/tools/test_shell/SConscript ('k') | webkit/tools/test_shell/test_shell_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698