parent
f118837e7f
commit
b40f3db72f
@ -0,0 +1,20 @@
|
||||
diff -up chromium-91.0.4472.114/components/ui_devtools/views/view_element.cc.erase-fix chromium-91.0.4472.114/components/ui_devtools/views/view_element.cc
|
||||
--- chromium-91.0.4472.114/components/ui_devtools/views/view_element.cc.erase-fix 2021-06-28 13:47:06.751802159 -0400
|
||||
+++ chromium-91.0.4472.114/components/ui_devtools/views/view_element.cc 2021-06-28 13:47:20.097876929 -0400
|
||||
@@ -24,14 +24,14 @@ namespace {
|
||||
// Remove any custom editor "prefixes" from the property name. The prefixes must
|
||||
// not be valid identifier characters.
|
||||
void StripPrefix(std::string& property_name) {
|
||||
- auto cur = property_name.cbegin();
|
||||
+ auto cur = property_name.begin();
|
||||
for (; cur < property_name.cend(); ++cur) {
|
||||
if ((*cur >= 'A' && *cur <= 'Z') || (*cur >= 'a' && *cur <= 'z') ||
|
||||
*cur == '_') {
|
||||
break;
|
||||
}
|
||||
}
|
||||
- property_name.erase(property_name.cbegin(), cur);
|
||||
+ property_name.erase(property_name.begin(), cur);
|
||||
}
|
||||
|
||||
ui::EventType GetMouseEventType(const std::string& type) {
|
Loading…
Reference in new issue