Index: content/browser/renderer_host/render_widget_host_impl.cc |
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc |
index fd62be09bab88aaab1955bfea0dfb816db189378..4429220674c42b091cd8c3ddc40e01ca80ef11f6 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -487,6 +487,13 @@ bool RenderWidgetHostImpl::Send(IPC::Message* msg) { |
return process_->Send(msg); |
} |
+void RenderWidgetHostImpl::SetIsLoading(bool is_loading) { |
+ is_loading_ = is_loading; |
+ if (!view_) |
+ return; |
+ view_->SetIsLoading(is_loading); |
+} |
+ |
void RenderWidgetHostImpl::WasHidden() { |
if (is_hidden_) |
return; |
@@ -654,13 +661,6 @@ void RenderWidgetHostImpl::ViewDestroyed() { |
SetView(NULL); |
} |
-void RenderWidgetHostImpl::SetIsLoading(bool is_loading) { |
- is_loading_ = is_loading; |
- if (!view_) |
- return; |
- view_->SetIsLoading(is_loading); |
-} |
- |
void RenderWidgetHostImpl::CopyFromBackingStore( |
const gfx::Rect& src_subrect, |
const gfx::Size& accelerated_dst_size, |