summaryrefslogtreecommitdiffstats
path: root/content/browser/tab_contents/tab_contents.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/tab_contents/tab_contents.h')
-rw-r--r--content/browser/tab_contents/tab_contents.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h
index 64bca21..0943f31 100644
--- a/content/browser/tab_contents/tab_contents.h
+++ b/content/browser/tab_contents/tab_contents.h
@@ -247,10 +247,10 @@ class CONTENT_EXPORT TabContents : public PageNavigator,
// returns false.
bool NeedToFireBeforeUnload();
-#ifdef UNIT_TEST
// Expose the render manager for testing.
- RenderViewHostManager* render_manager() { return &render_manager_; }
-#endif
+ RenderViewHostManager* render_manager_for_testing() {
+ return &render_manager_;
+ }
// In the underlying RenderViewHostManager, swaps in the provided
// RenderViewHost to replace the current RenderViewHost. The current RVH