Index: chrome/renderer/extensions/user_script_slave.cc |
=================================================================== |
--- chrome/renderer/extensions/user_script_slave.cc (revision 111763) |
+++ chrome/renderer/extensions/user_script_slave.cc (working copy) |
@@ -230,7 +230,7 @@ |
return true; |
} |
-GURL UserScriptSlave::GetLatestURLForFrame(WebFrame* frame) { |
+GURL UserScriptSlave::GetDataSourceURLForFrame(WebFrame* frame) { |
// Normally we would use frame->document().url() to determine the document's |
// URL, but to decide whether to inject a content script, we use the URL from |
// the data source. This "quirk" helps prevents content scripts from |
@@ -247,7 +247,7 @@ |
void UserScriptSlave::InjectScripts(WebFrame* frame, |
UserScript::RunLocation location) { |
- GURL data_source_url = GetLatestURLForFrame(frame); |
+ GURL data_source_url = GetDataSourceURLForFrame(frame); |
if (data_source_url.is_empty()) |
return; |