| Index: chrome/browser/ui/webui/options/startup_pages_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/startup_pages_handler.cc b/chrome/browser/ui/webui/options/startup_pages_handler.cc
|
| index 738625ddac06f0a6bddcb04f3ab26f2261e71d79..3e28c5049cc7ef1625e9462c1e44b3007516f300 100644
|
| --- a/chrome/browser/ui/webui/options/startup_pages_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/startup_pages_handler.cc
|
| @@ -215,8 +215,8 @@ void StartupPagesHandler::DragDropStartupPage(const base::ListValue* args) {
|
|
|
| CHECK(args->GetInteger(0, &to_index));
|
|
|
| - const base::ListValue* selected;
|
| - CHECK(args->GetList(1, &selected));
|
| + const base::ListValue* selected =
|
| + static_cast<const base::ListValue*>(&args->base::Value::GetList()[1]);
|
|
|
| std::vector<int> index_list;
|
| for (size_t i = 0; i < selected->GetSize(); ++i) {
|
|
|