| Index: content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc
|
| diff --git a/content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc b/content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc
|
| index 711ded7d26f66db57542d50b80aedbf248979cfe..901d61dfcc6732df843c151bdd5292ac5aceba85 100644
|
| --- a/content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc
|
| +++ b/content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc
|
| @@ -135,8 +135,8 @@ class TouchSelectionControllerClientAuraTest : public ContentBrowserTest {
|
|
|
| bool GetPointInsideText(gfx::PointF* point) {
|
| std::string str;
|
| - if (ExecuteScriptAndExtractString(shell()->web_contents()->GetMainFrame(),
|
| - "get_point_inside_text()", &str)) {
|
| + if (ExecuteScriptAndExtractString(shell(), "get_point_inside_text()",
|
| + &str)) {
|
| return JSONToPoint(str, point);
|
| }
|
| return false;
|
| @@ -144,17 +144,14 @@ class TouchSelectionControllerClientAuraTest : public ContentBrowserTest {
|
|
|
| bool GetPointInsideTextfield(gfx::PointF* point) {
|
| std::string str;
|
| - if (ExecuteScriptAndExtractString(shell()->web_contents()->GetMainFrame(),
|
| - "get_point_inside_textfield()", &str)) {
|
| + if (ExecuteScriptAndExtractString(shell(), "get_point_inside_textfield()",
|
| + &str)) {
|
| return JSONToPoint(str, point);
|
| }
|
| return false;
|
| }
|
|
|
| - bool EmptyTextfield() {
|
| - return ExecuteScript(shell()->web_contents()->GetMainFrame(),
|
| - "empty_textfield()");
|
| - }
|
| + bool EmptyTextfield() { return ExecuteScript(shell(), "empty_textfield()"); }
|
|
|
| RenderWidgetHostViewAura* GetRenderWidgetHostViewAura() {
|
| return static_cast<RenderWidgetHostViewAura*>(
|
|
|