Index: content/browser/iframe_zoom_browsertest.cc |
diff --git a/content/browser/iframe_zoom_browsertest.cc b/content/browser/iframe_zoom_browsertest.cc |
index 80ba2665553ef0d77b153790a348242293dee050..b74135ca51bf11d8aa6bc1ee09f223bbf479e3d1 100644 |
--- a/content/browser/iframe_zoom_browsertest.cc |
+++ b/content/browser/iframe_zoom_browsertest.cc |
@@ -4,7 +4,6 @@ |
#include <vector> |
-#include "base/strings/string_util.h" |
#include "content/browser/frame_host/frame_tree_node.h" |
#include "content/browser/frame_host/render_frame_host_impl.h" |
#include "content/browser/web_contents/web_contents_impl.h" |
@@ -122,7 +121,7 @@ |
} |
void Check(const std::string& status_msg) { |
- if (!base::StartsWith(status_msg, msg_label, base::CompareCase::SENSITIVE)) |
+ if (status_msg.find(msg_label) != 0) |
return; |
double inner_width = std::stod(status_msg.substr(msg_label.length() + 1)); |