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

Side by Side Diff: third_party/WebKit/Source/web/WebAXObject.cpp

Issue 2236573003: Update equalIgnoreCase to equalIgnoreASCIICase in Source/web (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 return false; 231 return false;
232 232
233 return m_private->isAnchor(); 233 return m_private->isAnchor();
234 } 234 }
235 235
236 bool WebAXObject::isAriaReadOnly() const 236 bool WebAXObject::isAriaReadOnly() const
237 { 237 {
238 if (isDetached()) 238 if (isDetached())
239 return false; 239 return false;
240 240
241 return equalIgnoringCase(m_private->getAttribute(HTMLNames::aria_readonlyAtt r), "true"); 241 return equalIgnoringASCIICase(m_private->getAttribute(HTMLNames::aria_readon lyAttr), "true");
tkent 2016/08/11 22:53:38 Are ARIA attribute values ascii-case-insensitive?
esprehn 2016/08/11 23:10:56 Yeah all attributes value matches in the DOM are.
242 } 242 }
243 243
244 WebString WebAXObject::ariaAutoComplete() const 244 WebString WebAXObject::ariaAutoComplete() const
245 { 245 {
246 if (isDetached()) 246 if (isDetached())
247 return WebString(); 247 return WebString();
248 248
249 return m_private->ariaAutoComplete(); 249 return m_private->ariaAutoComplete();
250 } 250 }
251 251
(...skipping 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after
1606 m_private = object; 1606 m_private = object;
1607 return *this; 1607 return *this;
1608 } 1608 }
1609 1609
1610 WebAXObject::operator AXObject*() const 1610 WebAXObject::operator AXObject*() const
1611 { 1611 {
1612 return m_private.get(); 1612 return m_private.get();
1613 } 1613 }
1614 1614
1615 } // namespace blink 1615 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/AssociatedURLLoaderTest.cpp ('k') | third_party/WebKit/Source/web/WebDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698