Index: content/browser/tab_contents/navigation_controller.h |
diff --git a/content/browser/tab_contents/navigation_controller.h b/content/browser/tab_contents/navigation_controller.h |
index d63a1eda77f22179c824caaac596704375626d6c..dff4d761e5aae1a3bfe75d297f8d53ef16f0349f 100644 |
--- a/content/browser/tab_contents/navigation_controller.h |
+++ b/content/browser/tab_contents/navigation_controller.h |
@@ -311,11 +311,9 @@ class CONTENT_EXPORT NavigationController { |
static void DisablePromptOnRepost(); |
// Maximum number of entries before we start removing entries from the front. |
-#ifdef UNIT_TEST |
- static void set_max_entry_count(size_t max_entry_count) { |
+ static void set_max_entry_count_for_testing(size_t max_entry_count) { |
max_entry_count_ = max_entry_count; |
} |
-#endif |
static size_t max_entry_count() { return max_entry_count_; } |
// Cancels a repost that brought up a warning. |