Index: chrome/browser/ui/permission_bubble/mock_permission_prompt_factory.cc |
diff --git a/chrome/browser/ui/permission_bubble/mock_permission_prompt_factory.cc b/chrome/browser/ui/permission_bubble/mock_permission_prompt_factory.cc |
index 284f3af1f867e73f887fabd3ac16cc2b3e2259a3..de7fc7ed6b9bf55445bc123b57eb969f5f4a9f03 100644 |
--- a/chrome/browser/ui/permission_bubble/mock_permission_prompt_factory.cc |
+++ b/chrome/browser/ui/permission_bubble/mock_permission_prompt_factory.cc |
@@ -67,8 +67,7 @@ int MockPermissionPromptFactory::TotalRequestCount() { |
} |
bool MockPermissionPromptFactory::RequestTypeSeen(PermissionRequestType type) { |
- return std::find(request_types_seen_.begin(), request_types_seen_.end(), |
- type) != request_types_seen_.end(); |
+ return base::ContainsValue(request_types_seen_, type); |
} |
void MockPermissionPromptFactory::WaitForPermissionBubble() { |