Index: content/public/test/test_renderer_host.cc |
diff --git a/content/public/test/test_renderer_host.cc b/content/public/test/test_renderer_host.cc |
index c837a76eda2dbce04b2aa7385514cf2cb5fa4848..18626d5abb58c78ef948fa9fe6c871d2fbf61cbd 100644 |
--- a/content/public/test/test_renderer_host.cc |
+++ b/content/public/test/test_renderer_host.cc |
@@ -45,7 +45,8 @@ RenderViewHost* RenderViewHostTester::GetPendingForController( |
// static |
bool RenderViewHostTester::IsRenderViewHostSwappedOut(RenderViewHost* rvh) { |
- return static_cast<RenderViewHostImpl*>(rvh)->is_swapped_out(); |
+ return static_cast<RenderViewHostImpl*>(rvh)->rvh_state() == |
+ RenderViewHostImpl::STATE_SWAPPED_OUT; |
} |
// static |