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

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

Issue 1058963002: many use counters (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | Source/core/frame/UseCounter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/v8_utilities.py
diff --git a/Source/bindings/scripts/v8_utilities.py b/Source/bindings/scripts/v8_utilities.py
index da957af733336e1d3764303965c72c5500baaa7b..26eb4b9b8a656b5bffbfae933381278d43b6ac92 100644
--- a/Source/bindings/scripts/v8_utilities.py
+++ b/Source/bindings/scripts/v8_utilities.py
@@ -365,7 +365,7 @@ def measure_as(definition_or_member, interface):
if 'MeasureAs' in extended_attributes:
includes.add('core/frame/UseCounter.h')
return lambda suffix: extended_attributes['MeasureAs']
- if 'Measure' in extended_attributes:
+ elif definition_or_member.name not in ('TEMPORARY', 'PERSISTENT'):
includes.add('core/frame/UseCounter.h')
measure_as_name = capitalize(definition_or_member.name)
if interface is not None:
« no previous file with comments | « no previous file | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698