Index: chrome/browser/notifications/platform_notification_service_unittest.cc |
diff --git a/chrome/browser/notifications/platform_notification_service_unittest.cc b/chrome/browser/notifications/platform_notification_service_unittest.cc |
index ed51422fe363507c45796c9a5a6ab5c3c806e6da..282ed6754ba702155c0b1417335fe80722be14c0 100644 |
--- a/chrome/browser/notifications/platform_notification_service_unittest.cc |
+++ b/chrome/browser/notifications/platform_notification_service_unittest.cc |
@@ -294,11 +294,12 @@ TEST_F(PlatformNotificationServiceTest, DisplayNameForContextMessage) { |
scoped_refptr<extensions::Extension> extension = |
extensions::ExtensionBuilder() |
.SetID("honijodknafkokifofgiaalefdiedpko") |
- .SetManifest(std::move(extensions::DictionaryBuilder() |
- .Set("name", "NotificationTest") |
- .Set("version", "1.0") |
- .Set("manifest_version", 2) |
- .Set("description", "Test Extension"))) |
+ .SetManifest(extensions::DictionaryBuilder() |
+ .Set("name", "NotificationTest") |
+ .Set("version", "1.0") |
+ .Set("manifest_version", 2) |
+ .Set("description", "Test Extension") |
+ .Build()) |
.Build(); |
extensions::ExtensionRegistry* registry = |
@@ -333,14 +334,15 @@ TEST_F(PlatformNotificationServiceTest, ExtensionPermissionChecks) { |
scoped_refptr<extensions::Extension> extension = |
extensions::ExtensionBuilder() |
.SetManifest( |
- std::move(extensions::DictionaryBuilder() |
- .Set("name", "NotificationTest") |
- .Set("version", "1.0") |
- .Set("manifest_version", 2) |
- .Set("description", "Test Extension") |
- .Set("permissions", |
- std::move(extensions::ListBuilder().Append( |
- "notifications"))))) |
+ extensions::DictionaryBuilder() |
+ .Set("name", "NotificationTest") |
+ .Set("version", "1.0") |
+ .Set("manifest_version", 2) |
+ .Set("description", "Test Extension") |
+ .Set( |
+ "permissions", |
+ extensions::ListBuilder().Append("notifications").Build()) |
+ .Build()) |
.Build(); |
// Install the extension on the faked extension service, and verify that it |
@@ -382,11 +384,12 @@ TEST_F(PlatformNotificationServiceTest, CreateNotificationFromData) { |
scoped_refptr<extensions::Extension> extension = |
extensions::ExtensionBuilder() |
.SetID("honijodknafkokifofgiaalefdiedpko") |
- .SetManifest(std::move(extensions::DictionaryBuilder() |
- .Set("name", "NotificationTest") |
- .Set("version", "1.0") |
- .Set("manifest_version", 2) |
- .Set("description", "Test Extension"))) |
+ .SetManifest(extensions::DictionaryBuilder() |
+ .Set("name", "NotificationTest") |
+ .Set("version", "1.0") |
+ .Set("manifest_version", 2) |
+ .Set("description", "Test Extension") |
+ .Build()) |
.Build(); |
extensions::ExtensionRegistry* registry = |