summaryrefslogtreecommitdiffstats
path: root/android_webview
diff options
context:
space:
mode:
authornasko@chromium.org <nasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-10 02:40:52 +0000
committernasko@chromium.org <nasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-10 02:40:52 +0000
commit58d5cfe950eae22225d3c7e10c547a5a8944a557 (patch)
tree864117e7baeae0e593a4ee2e0e00177ac1d9ba6b /android_webview
parent55f398244985990207b8861cde1da27039285adb (diff)
downloadchromium_src-58d5cfe950eae22225d3c7e10c547a5a8944a557.zip
chromium_src-58d5cfe950eae22225d3c7e10c547a5a8944a557.tar.gz
chromium_src-58d5cfe950eae22225d3c7e10c547a5a8944a557.tar.bz2
Rename RenderViewGone IPC/methods to better reflect reality.
The RenderViewGone IPC and methods are incorrectly named, as those are used when a renderer process has died. Since we are passing in termination status around and usually iterating over all Render{Widget|View}Host in a specific process, it actually applies to the whole process. This CL renames all applicable instances of this method and the IPC message associated with it. BUG=258087 Review URL: https://chromiumcodereview.appspot.com/18339006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210727 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview')
-rw-r--r--android_webview/browser/renderer_host/aw_render_view_host_ext.cc2
-rw-r--r--android_webview/browser/renderer_host/aw_render_view_host_ext.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/android_webview/browser/renderer_host/aw_render_view_host_ext.cc b/android_webview/browser/renderer_host/aw_render_view_host_ext.cc
index 65641d7..2450092 100644
--- a/android_webview/browser/renderer_host/aw_render_view_host_ext.cc
+++ b/android_webview/browser/renderer_host/aw_render_view_host_ext.cc
@@ -85,7 +85,7 @@ void AwRenderViewHostExt::SetInitialPageScale(double page_scale_factor) {
page_scale_factor));
}
-void AwRenderViewHostExt::RenderViewGone(base::TerminationStatus status) {
+void AwRenderViewHostExt::RenderProcessGone(base::TerminationStatus status) {
DCHECK(CalledOnValidThread());
for (std::map<int, DocumentHasImagesResult>::iterator pending_req =
pending_document_has_images_requests_.begin();
diff --git a/android_webview/browser/renderer_host/aw_render_view_host_ext.h b/android_webview/browser/renderer_host/aw_render_view_host_ext.h
index 24e6a43..85ecfea 100644
--- a/android_webview/browser/renderer_host/aw_render_view_host_ext.h
+++ b/android_webview/browser/renderer_host/aw_render_view_host_ext.h
@@ -73,7 +73,7 @@ class AwRenderViewHostExt : public content::WebContentsObserver,
private:
// content::WebContentsObserver implementation.
- virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE;
+ virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
virtual void DidNavigateAnyFrame(
const content::LoadCommittedDetails& details,
const content::FrameNavigateParams& params) OVERRIDE;