Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index 694f3b68eebf085e9b90ab6ed0e54eee8437f40b..e90a5aede5729f8c75ede9fa3c23377c8928111f 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -3715,7 +3715,7 @@ bool WebContentsImpl::AddMessageToConsole(int32 level, |
source_id); |
} |
-WebPreferences WebContentsImpl::GetWebkitPrefs() { |
+WebPreferences WebContentsImpl::ComputeWebkitPrefs() { |
// We want to base the page config off of the actual URL, rather than the |
// virtual URL. |
// TODO(nasko): Investigate how to remove the GetActiveEntry usage here, |
@@ -3723,7 +3723,7 @@ WebPreferences WebContentsImpl::GetWebkitPrefs() { |
GURL url = controller_.GetActiveEntry() |
? controller_.GetActiveEntry()->GetURL() : GURL::EmptyGURL(); |
- return GetRenderManager()->current_host()->GetWebkitPrefs(url); |
+ return GetRenderManager()->current_host()->ComputeWebkitPrefs(url); |
} |
int WebContentsImpl::CreateSwappedOutRenderView( |