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

Unified Diff: third_party/WebKit/Source/bindings/scripts/v8_utilities.py

Issue 2573713002: [Bindings][Refactoring] Remove filters for origin trial features (Closed)
Patch Set: Rebase Created 4 years 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/bindings/scripts/v8_utilities.py
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_utilities.py b/third_party/WebKit/Source/bindings/scripts/v8_utilities.py
index a0fe9ae7e098091c3d9439b6c020ff1a5a437c4f..ceafa1a61cafe5e5f06ded7445edf3c9f9304eb0 100644
--- a/third_party/WebKit/Source/bindings/scripts/v8_utilities.py
+++ b/third_party/WebKit/Source/bindings/scripts/v8_utilities.py
@@ -123,13 +123,6 @@ def unique_by(dict_list, key):
return filtered_list
-def for_origin_trial_feature(items, feature_name):
- """Filters the list of attributes or constants, and returns those defined for the named origin trial feature."""
- return [item for item in items if
- item['origin_trial_feature_name'] == feature_name and
- not item.get('exposed_test')]
-
-
################################################################################
# C++
################################################################################

Powered by Google App Engine
This is Rietveld 408576698