Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Unified Diff: components/translate/content/browser/static_browser_cld_data_provider.cc

Issue 354093004: Fix crash when using non-static CLD and update translate.gypi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase onto master Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/translate/content/browser/data_file_browser_cld_data_provider.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/translate/content/browser/static_browser_cld_data_provider.cc
diff --git a/components/translate/content/browser/static_browser_cld_data_provider.cc b/components/translate/content/browser/static_browser_cld_data_provider.cc
index 3b5fab4f7cabcc55a70d392810ea6b9945479e17..b12bff18ff8f2a4dea67698ffc56aed7408f9039 100644
--- a/components/translate/content/browser/static_browser_cld_data_provider.cc
+++ b/components/translate/content/browser/static_browser_cld_data_provider.cc
@@ -4,7 +4,7 @@
#include "static_browser_cld_data_provider.h"
-#include "content/public/browser/render_view_host.h"
+#include "content/public/browser/web_contents.h"
#include "ipc/ipc_message.h"
namespace translate {
@@ -12,7 +12,7 @@ namespace translate {
// Implementation of the static factory method from BrowserCldDataProvider,
// hooking up this specific implementation for all of Chromium.
BrowserCldDataProvider* CreateBrowserCldDataProviderFor(
- content::RenderViewHost* render_view_host) {
+ content::WebContents* web_contents) {
return new StaticBrowserCldDataProvider();
}
« no previous file with comments | « components/translate/content/browser/data_file_browser_cld_data_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698