Index: chrome/renderer/extensions/chrome_v8_context.h |
diff --git a/chrome/renderer/extensions/chrome_v8_context.h b/chrome/renderer/extensions/chrome_v8_context.h |
index 94944f47a687911d4902031b7c2501ce68fd64ef..dcdcc901218137010ab090b4d94693899eccbc29 100644 |
--- a/chrome/renderer/extensions/chrome_v8_context.h |
+++ b/chrome/renderer/extensions/chrome_v8_context.h |
@@ -105,10 +105,10 @@ class ChromeV8Context : public RequestSender::Source { |
// Returns the availability of the API |api_name|. |
Feature::Availability GetAvailability(const std::string& api_name); |
- // Returns whether the API |api_name| or any part of the API could be |
+ // Returns whether the API |api| or any part of the API could be |
// available in this context without taking into account the context's |
// extension. |
- bool IsAnyFeatureAvailableToContext(const std::string& api_name); |
+ bool IsAnyFeatureAvailableToContext(const extensions::Feature& api); |
// Returns a string description of the type of context this is. |
std::string GetContextTypeDescription(); |