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

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

Issue 2481923002: [WIP] make GURL::path() return a StringPiece (Closed)
Patch Set: thanks asan Created 4 years, 1 month 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/plugin_info_message_filter.cc
diff --git a/chrome/browser/plugins/plugin_info_message_filter.cc b/chrome/browser/plugins/plugin_info_message_filter.cc
index 10b56e7c3ee55be6061554e2a625e267504251dd..01b66789738bac05ad4ed1307254a0643b9f65b4 100644
--- a/chrome/browser/plugins/plugin_info_message_filter.cc
+++ b/chrome/browser/plugins/plugin_info_message_filter.cc
@@ -137,8 +137,9 @@ bool IsPluginLoadingAccessibleResourceInWebView(
const std::string extension_id = resource.host();
const extensions::Extension* extension = extension_registry->GetExtensionById(
extension_id, extensions::ExtensionRegistry::ENABLED);
- if (!extension || !extensions::WebviewInfo::IsResourceWebviewAccessible(
- extension, partition_id, resource.path())) {
+ if (!extension ||
+ !extensions::WebviewInfo::IsResourceWebviewAccessible(
+ extension, partition_id, resource.path().as_string())) {
return false;
}
« no previous file with comments | « chrome/browser/password_manager/password_store_mac.cc ('k') | chrome/browser/profiles/profile_avatar_icon_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698