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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js

Issue 2181123002: DevTools: Remove unused parameters to TextPrompt._loadCompletions callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove toLowerCase() Created 4 years, 5 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
Index: third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
index b6a6951e2aae9b5ff4ec3a8b3fc590cdc954f3aa..b4a71ebe0f00013e7a4cac4b515821a14cccbb9d 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
@@ -2932,13 +2932,11 @@ WebInspector.StylesSidebarPane.CSSPropertyPrompt.prototype = {
/**
* @param {!Element} proxyElement
- * @param {string} text
- * @param {number} cursorOffset
* @param {!Range} wordRange
* @param {boolean} force
* @param {function(!Array.<string>, number=)} completionsReadyCallback
*/
- _buildPropertyCompletions: function(proxyElement, text, cursorOffset, wordRange, force, completionsReadyCallback)
+ _buildPropertyCompletions: function(proxyElement, wordRange, force, completionsReadyCallback)
{
var prefix = wordRange.toString().toLowerCase();
if (!prefix && !force && (this._isEditingName || proxyElement.textContent.length)) {

Powered by Google App Engine
This is Rietveld 408576698