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 a5c5a9c8f1e744eb9d2e482f571fb9556bcc2f0a..34b133b6830d1358f51e80df77baf71f10344b40 100644 |
--- a/content/browser/tab_contents/navigation_controller.h |
+++ b/content/browser/tab_contents/navigation_controller.h |
@@ -336,9 +336,9 @@ class CONTENT_EXPORT NavigationController { |
// Maximum number of entries before we start removing entries from the front. |
static void set_max_entry_count_for_testing(size_t max_entry_count) { |
- max_entry_count_ = max_entry_count; |
+ max_entry_count_for_testing_ = max_entry_count; |
} |
- static size_t max_entry_count() { return max_entry_count_; } |
+ static size_t max_entry_count(); |
// Cancels a repost that brought up a warning. |
void CancelPendingReload(); |
@@ -501,7 +501,7 @@ class CONTENT_EXPORT NavigationController { |
static bool check_for_repost_; |
// The maximum number of entries that a navigation controller can store. |
- static size_t max_entry_count_; |
+ static size_t max_entry_count_for_testing_; |
// If a repost is pending, its type (RELOAD or RELOAD_IGNORING_CACHE), |
// NO_RELOAD otherwise. |