Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1010)

Unified Diff: chrome/test/webdriver/commands/html5_location_commands.cc

Issue 10834004: Correct const accessors in base/values.(h|cc) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Reverting webdriver:Command::parameters_ to const Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/webdriver/commands/execute_command.cc ('k') | chrome/test/webdriver/commands/keys_command.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/commands/html5_location_commands.cc
diff --git a/chrome/test/webdriver/commands/html5_location_commands.cc b/chrome/test/webdriver/commands/html5_location_commands.cc
index 312950b95011670a0c9fafe86a401da6c887f2fa..eeb20ec43f39394c28d129a0e9891440d07f16a1 100644
--- a/chrome/test/webdriver/commands/html5_location_commands.cc
+++ b/chrome/test/webdriver/commands/html5_location_commands.cc
@@ -37,7 +37,7 @@ void HTML5LocationCommand::ExecuteGet(Response* const response) {
}
void HTML5LocationCommand::ExecutePost(Response* const response) {
- base::DictionaryValue* geolocation;
+ const base::DictionaryValue* geolocation;
if (!GetDictionaryParameter("location", &geolocation)) {
response->SetError(new Error(
kBadRequest, "Missing or invalid 'location'"));
« no previous file with comments | « chrome/test/webdriver/commands/execute_command.cc ('k') | chrome/test/webdriver/commands/keys_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698