Index: chrome/browser/extensions/api/gcm/gcm_api.cc |
diff --git a/chrome/browser/extensions/api/gcm/gcm_api.cc b/chrome/browser/extensions/api/gcm/gcm_api.cc |
index dab662178a3f74e480bddd501633694c70f243e0..7f878c3b4fd8a7c5e4f8559ade0d0628196af009 100644 |
--- a/chrome/browser/extensions/api/gcm/gcm_api.cc |
+++ b/chrome/browser/extensions/api/gcm/gcm_api.cc |
@@ -128,7 +128,7 @@ bool GcmRegisterFunction::DoWork() { |
void GcmRegisterFunction::CompleteFunctionWithResult( |
const std::string& registration_id, |
gcm::GCMClient::Result result) { |
- SetResult(base::MakeUnique<base::StringValue>(registration_id)); |
+ SetResult(base::MakeUnique<base::Value>(registration_id)); |
SetError(GcmResultToError(result)); |
SendResponse(gcm::GCMClient::SUCCESS == result); |
} |
@@ -182,7 +182,7 @@ bool GcmSendFunction::DoWork() { |
void GcmSendFunction::CompleteFunctionWithResult( |
const std::string& message_id, |
gcm::GCMClient::Result result) { |
- SetResult(base::MakeUnique<base::StringValue>(message_id)); |
+ SetResult(base::MakeUnique<base::Value>(message_id)); |
SetError(GcmResultToError(result)); |
SendResponse(gcm::GCMClient::SUCCESS == result); |
} |