code cleanup

This commit is contained in:
deepak1556 2017-01-22 20:23:42 +05:30
parent de7dcdedba
commit ddc2e0df71
8 changed files with 14 additions and 16 deletions

View file

@ -52,7 +52,7 @@ AtomWebUIControllerFactory::CreateWebUIControllerForURL(content::WebUI* web_ui,
base::SplitStringIntoKeyValuePairs(url.query(), '=', '&', &toplevel_params);
std::string view_id;
for (const auto& param : toplevel_params) {
if (param.first == "viewId") {
if (param.first == PdfViewerUI::kId) {
view_id = param.second;
break;
}