Index: content/browser/notifications/notification_id_generator.cc |
diff --git a/content/browser/notifications/notification_id_generator.cc b/content/browser/notifications/notification_id_generator.cc |
index 254c83efdfdfc1d08933273f025aeaa6e515aae3..7bdbb2cfcc317319aa21b06543a7c506c9f36b5c 100644 |
--- a/content/browser/notifications/notification_id_generator.cc |
+++ b/content/browser/notifications/notification_id_generator.cc |
@@ -105,7 +105,7 @@ std::string NotificationIdGenerator::GenerateForNonPersistentNotification( |
// tag is being used. Tags still identify uniqueness for the given origin. |
stream << base::IntToString(!tag.empty()); |
- if (!tag.size()) { |
+ if (tag.empty()) { |
stream << base::IntToString(render_process_id_); |
stream << kSeparator; |