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

Unified Diff: components/translate/content/browser/browser_cld_data_provider.h

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
Index: components/translate/content/browser/browser_cld_data_provider.h
diff --git a/components/translate/content/browser/browser_cld_data_provider.h b/components/translate/content/browser/browser_cld_data_provider.h
index 9634838894a5a902763c8f477fca2244d89698de..ce6022de6560d5de9f7461043eee2241266fb247 100644
--- a/components/translate/content/browser/browser_cld_data_provider.h
+++ b/components/translate/content/browser/browser_cld_data_provider.h
@@ -12,7 +12,7 @@ class Message;
}
namespace content {
-class RenderViewHost;
+class WebContents;
}
namespace translate {
@@ -55,9 +55,9 @@ class BrowserCldDataProvider : public IPC::Listener {
};
// Static factory function defined by the implementation that produces a new
-// provider for the specified render view host.
+// provider for the specified WebContents.
BrowserCldDataProvider* CreateBrowserCldDataProviderFor(
- content::RenderViewHost*);
+ content::WebContents*);
} // namespace translate
« no previous file with comments | « components/translate.gypi ('k') | components/translate/content/browser/data_file_browser_cld_data_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698