| Index: components/mus/public/cpp/window_property.h
|
| diff --git a/components/mus/public/cpp/window_property.h b/components/mus/public/cpp/window_property.h
|
| index d89a7b7e13541310b10d4fb02b203384e2b3812d..fafe416d9ec1b58da052d56f2d37238cc7f25d8c 100644
|
| --- a/components/mus/public/cpp/window_property.h
|
| +++ b/components/mus/public/cpp/window_property.h
|
| @@ -47,7 +47,7 @@ namespace mus {
|
| template <typename T>
|
| void Window::SetSharedProperty(const std::string& name, const T& data) {
|
| const std::vector<uint8_t> bytes =
|
| - mojo::TypeConverter<const std::vector<uint8_t>, T>::Convert(data);
|
| + mojo::TypeConverter<std::vector<uint8_t>, T>::Convert(data);
|
| SetSharedPropertyInternal(name, &bytes);
|
| }
|
|
|
| @@ -55,8 +55,7 @@ template <typename T>
|
| T Window::GetSharedProperty(const std::string& name) const {
|
| DCHECK(HasSharedProperty(name));
|
| auto it = properties_.find(name);
|
| - return mojo::TypeConverter<T, const std::vector<uint8_t>>::Convert(
|
| - it->second);
|
| + return mojo::TypeConverter<T, std::vector<uint8_t>>::Convert(it->second);
|
| }
|
|
|
| namespace {
|
|
|