| Index: chrome/test/chromedriver/window_commands.cc
|
| diff --git a/chrome/test/chromedriver/window_commands.cc b/chrome/test/chromedriver/window_commands.cc
|
| index 266361b4c9555dfc49b4a62e1a71f66d7ab5568f..3b9fc55219cea5952e3785966e490359adc72af6 100644
|
| --- a/chrome/test/chromedriver/window_commands.cc
|
| +++ b/chrome/test/chromedriver/window_commands.cc
|
| @@ -257,6 +257,10 @@ Status ExecuteExecuteScript(
|
| return Status(kUnknownError, "'script' must be a string");
|
| if (script == ":takeHeapSnapshot") {
|
| return web_view->TakeHeapSnapshot(value);
|
| + } else if (script == ":startProfile") {
|
| + return web_view->StartProfile(value);
|
| + } else if (script == ":endProfile") {
|
| + return web_view->EndProfile(value);
|
| } else {
|
| const base::ListValue* args;
|
| if (!params.GetList("args", &args))
|
|
|