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

Unified Diff: third_party/WebKit/Source/devtools/front_end/accessibility/ARIAMetadata.js

Issue 2466123002: DevTools: reformat front-end code to match chromium style. (Closed)
Patch Set: Created 4 years, 1 month 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
Index: third_party/WebKit/Source/devtools/front_end/accessibility/ARIAMetadata.js
diff --git a/third_party/WebKit/Source/devtools/front_end/accessibility/ARIAMetadata.js b/third_party/WebKit/Source/devtools/front_end/accessibility/ARIAMetadata.js
index 2303ece2c75dc8f7371aae4915fab3fada825032..d481163cf6d67afdb17c3a1f50e3bc9b94333a60 100644
--- a/third_party/WebKit/Source/devtools/front_end/accessibility/ARIAMetadata.js
+++ b/third_party/WebKit/Source/devtools/front_end/accessibility/ARIAMetadata.js
@@ -52,7 +52,7 @@ WebInspector.ARIAMetadata.prototype = {
valuesForProperty: function(property)
{
if (this._attributes.has(property))
- return this._attributes.get(property).enum();
+ return this._attributes.get(property).getEnum();
if (property === "role")
return this._roleNames;
@@ -78,7 +78,7 @@ WebInspector.ARIAMetadata.Attribute.prototype = {
/**
* @return {!Array<string>}
*/
- enum: function()
+ getEnum: function()
{
return this._enum;
}

Powered by Google App Engine
This is Rietveld 408576698