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

Unified Diff: chrome/browser/plugins/chrome_content_browser_client_plugins_part.cc

Issue 831813004: Get nacl building again for android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove process launcher change Created 5 years, 11 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: chrome/browser/plugins/chrome_content_browser_client_plugins_part.cc
diff --git a/chrome/browser/plugins/chrome_content_browser_client_plugins_part.cc b/chrome/browser/plugins/chrome_content_browser_client_plugins_part.cc
index 853c8a77d679f8de8e1a6116bb851697b83a4bcc..5491372a2a477a732c3b19489124fdfa42ed9b75 100644
--- a/chrome/browser/plugins/chrome_content_browser_client_plugins_part.cc
+++ b/chrome/browser/plugins/chrome_content_browser_client_plugins_part.cc
@@ -66,8 +66,8 @@ bool ChromeContentBrowserClientPluginsPart::AllowPepperSocketAPI(
bool private_api,
const content::SocketPermissionRequest* params,
const std::set<std::string>& allowed_socket_origin) {
- Profile* profile = Profile::FromBrowserContext(browser_context);
#if defined(ENABLE_EXTENSIONS)
+ Profile* profile = Profile::FromBrowserContext(browser_context);
const extensions::ExtensionSet* extension_set = NULL;
if (profile) {
extension_set =

Powered by Google App Engine
This is Rietveld 408576698