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

Unified Diff: chrome/browser/ui/webui/sync_internals_message_handler.cc

Issue 2698603003: [Sync] Use ExtractIntegerValue to extract request_id from js args (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | ios/chrome/browser/ui/webui/sync_internals/sync_internals_message_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/sync_internals_message_handler.cc
diff --git a/chrome/browser/ui/webui/sync_internals_message_handler.cc b/chrome/browser/ui/webui/sync_internals_message_handler.cc
index 57734e9194d69b8854d117d70b435eb5348d7b2e..e5f3d995d0be445ecc93d6120abf7de612a5408d 100644
--- a/chrome/browser/ui/webui/sync_internals_message_handler.cc
+++ b/chrome/browser/ui/webui/sync_internals_message_handler.cc
@@ -155,7 +155,7 @@ void SyncInternalsMessageHandler::HandleGetAllNodes(
const base::ListValue* args) {
DCHECK_EQ(1U, args->GetSize());
int request_id = 0;
- bool success = args->GetInteger(0, &request_id);
+ bool success = ExtractIntegerValue(args, &request_id);
DCHECK(success);
ProfileSyncService* service = GetProfileSyncService();
« no previous file with comments | « no previous file | ios/chrome/browser/ui/webui/sync_internals/sync_internals_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698