| Index: chrome/test/chromedriver/window_commands.cc
|
| diff --git a/chrome/test/chromedriver/window_commands.cc b/chrome/test/chromedriver/window_commands.cc
|
| index 786f185b01ace9da3dc4ac7cd33df406425325fd..ff0be7fa2c2e8505d49f6d99f16f715a51593886 100644
|
| --- a/chrome/test/chromedriver/window_commands.cc
|
| +++ b/chrome/test/chromedriver/window_commands.cc
|
| @@ -467,14 +467,6 @@ Status ExecuteGetCurrentUrl(
|
| return status;
|
| }
|
| }
|
| - if (!session->GetCurrentFrameId().empty()) {
|
| - // TODO(samuong): remove this after we release ChromeDriver 2.21.
|
| - LOG(WARNING)
|
| - << "As of ChromeDriver 2.21, GetCurrentUrl now returns the "
|
| - "URL of the top-level browsing context, not the current frame. "
|
| - "See https://code.google.com/p/chromedriver/issues/detail?id=1249 "
|
| - "for details and workarounds.";
|
| - }
|
| value->reset(new base::StringValue(url));
|
| return Status(kOk);
|
| }
|
|
|