Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Unified Diff: ui/aura/mus/property_converter.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/import_manager.cc ('k') | ui/compositor/layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/property_converter.cc
diff --git a/ui/aura/mus/property_converter.cc b/ui/aura/mus/property_converter.cc
index 7a452e527655a065d9f0d60fbdb3d39ab609b6db..9787d57626460a43747f8f46791b4375c6aa97c7 100644
--- a/ui/aura/mus/property_converter.cc
+++ b/ui/aura/mus/property_converter.cc
@@ -70,7 +70,7 @@ bool PropertyConverter::ConvertPropertyForTransport(
if (transport_name->empty())
return false;
- auto image_key = static_cast<const WindowProperty<gfx::ImageSkia*>*>(key);
+ auto* image_key = static_cast<const WindowProperty<gfx::ImageSkia*>*>(key);
if (image_properties_.count(image_key) > 0) {
const gfx::ImageSkia* value = window->GetProperty(image_key);
if (value) {
@@ -84,25 +84,25 @@ bool PropertyConverter::ConvertPropertyForTransport(
return true;
}
- auto rect_key = static_cast<const WindowProperty<gfx::Rect*>*>(key);
+ auto* rect_key = static_cast<const WindowProperty<gfx::Rect*>*>(key);
if (rect_properties_.count(rect_key) > 0) {
*transport_value = GetArray(window, rect_key);
return true;
}
- auto size_key = static_cast<const WindowProperty<gfx::Size*>*>(key);
+ auto* size_key = static_cast<const WindowProperty<gfx::Size*>*>(key);
if (size_properties_.count(size_key) > 0) {
*transport_value = GetArray(window, size_key);
return true;
}
- auto string_key = static_cast<const WindowProperty<std::string*>*>(key);
+ auto* string_key = static_cast<const WindowProperty<std::string*>*>(key);
if (string_properties_.count(string_key) > 0) {
*transport_value = GetArray(window, string_key);
return true;
}
- auto string16_key = static_cast<const WindowProperty<base::string16*>*>(key);
+ auto* string16_key = static_cast<const WindowProperty<base::string16*>*>(key);
if (string16_properties_.count(string16_key) > 0) {
*transport_value = GetArray(window, string16_key);
return true;
@@ -122,23 +122,23 @@ std::string PropertyConverter::GetTransportNameForPropertyKey(const void* key) {
if (primitive_properties_.count(key) > 0)
return primitive_properties_[key].transport_name;
- auto image_key = static_cast<const WindowProperty<gfx::ImageSkia*>*>(key);
+ auto* image_key = static_cast<const WindowProperty<gfx::ImageSkia*>*>(key);
if (image_properties_.count(image_key) > 0)
return image_properties_[image_key];
- auto rect_key = static_cast<const WindowProperty<gfx::Rect*>*>(key);
+ auto* rect_key = static_cast<const WindowProperty<gfx::Rect*>*>(key);
if (rect_properties_.count(rect_key) > 0)
return rect_properties_[rect_key];
- auto size_key = static_cast<const WindowProperty<gfx::Size*>*>(key);
+ auto* size_key = static_cast<const WindowProperty<gfx::Size*>*>(key);
if (size_properties_.count(size_key) > 0)
return size_properties_[size_key];
- auto string_key = static_cast<const WindowProperty<std::string*>*>(key);
+ auto* string_key = static_cast<const WindowProperty<std::string*>*>(key);
if (string_properties_.count(string_key) > 0)
return string_properties_[string_key];
- auto string16_key = static_cast<const WindowProperty<base::string16*>*>(key);
+ auto* string16_key = static_cast<const WindowProperty<base::string16*>*>(key);
if (string16_properties_.count(string16_key) > 0)
return string16_properties_[string16_key];
« no previous file with comments | « tools/gn/import_manager.cc ('k') | ui/compositor/layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698