Index: extensions/browser/guest_view/web_view/web_view_renderer_state.h |
diff --git a/extensions/browser/guest_view/web_view/web_view_renderer_state.h b/extensions/browser/guest_view/web_view/web_view_renderer_state.h |
index ad2de379278fc7025c4afc32afda60a274c00855..7ee5ace4ab08dbf0bed020a29e71f3f1051adda8 100644 |
--- a/extensions/browser/guest_view/web_view/web_view_renderer_state.h |
+++ b/extensions/browser/guest_view/web_view/web_view_renderer_state.h |
@@ -81,9 +81,8 @@ class WebViewRendererState { |
int web_view_count; |
std::string partition_id; |
WebViewPartitionInfo() {} |
- WebViewPartitionInfo(int count, std::string partition): |
- web_view_count(count), |
- partition_id(partition) {} |
+ WebViewPartitionInfo(int count, const std::string& partition) |
+ : web_view_count(count), partition_id(partition) {} |
}; |
using WebViewPartitionIDMap = std::map<int, WebViewPartitionInfo>; |