Title: [201658] trunk/Source/WebInspectorUI
Revision
201658
Author
[email protected]
Date
2016-06-03 14:35:06 -0700 (Fri, 03 Jun 2016)

Log Message

Web Inspector: Remove unused WebInspector.CSSCompletions methods
https://bugs.webkit.org/show_bug.cgi?id=158352

Reviewed by Joseph Pecoraro.

* UserInterface/Models/CSSCompletions.js:
(WebInspector.CSSCompletions.prototype.firstStartsWith): Deleted.
(WebInspector.CSSCompletions.prototype.isLonghandPropertyName): Deleted.
(WebInspector.CSSCompletions.prototype.longhandsForShorthand): Deleted.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (201657 => 201658)


--- trunk/Source/WebInspectorUI/ChangeLog	2016-06-03 21:26:52 UTC (rev 201657)
+++ trunk/Source/WebInspectorUI/ChangeLog	2016-06-03 21:35:06 UTC (rev 201658)
@@ -1,3 +1,15 @@
+2016-06-03  Nikita Vasilyev  <[email protected]>
+
+        Web Inspector: Remove unused WebInspector.CSSCompletions methods
+        https://bugs.webkit.org/show_bug.cgi?id=158352
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Models/CSSCompletions.js:
+        (WebInspector.CSSCompletions.prototype.firstStartsWith): Deleted.
+        (WebInspector.CSSCompletions.prototype.isLonghandPropertyName): Deleted.
+        (WebInspector.CSSCompletions.prototype.longhandsForShorthand): Deleted.
+
 2016-06-03  Joseph Pecoraro  <[email protected]>
 
         Web Inspector: Update NativeFunctionParameters (FontFaceSet, HTMLSlotElement, EventTarget)

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/CSSCompletions.js (201657 => 201658)


--- trunk/Source/WebInspectorUI/UserInterface/Models/CSSCompletions.js	2016-06-03 21:26:52 UTC (rev 201657)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/CSSCompletions.js	2016-06-03 21:35:06 UTC (rev 201658)
@@ -189,12 +189,6 @@
         return results;
     }
 
-    firstStartsWith(prefix)
-    {
-        var foundIndex = this._firstIndexOfPrefix(prefix);
-        return (foundIndex === -1 ? "" : this._values[foundIndex]);
-    }
-
     _firstIndexOfPrefix(prefix)
     {
         if (!this._values.length)
@@ -269,16 +263,6 @@
         return shorthand in this._longhands;
     }
 
-    isLonghandPropertyName(longhand)
-    {
-        return longhand in this._shorthands;
-    }
-
-    longhandsForShorthand(shorthand)
-    {
-        return this._longhands[shorthand] || [];
-    }
-
     shorthandsForLonghand(longhand)
     {
         return this._shorthands[longhand] || [];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to