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

Unified Diff: core/inspector/CodeGeneratorInstrumentation.py

Issue 37053003: Roll IDL to multivm@1467 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 2 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 | « core/html/track/TrackEvent.idl ('k') | core/inspector/InspectorFrontendHost.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/inspector/CodeGeneratorInstrumentation.py
diff --git a/core/inspector/CodeGeneratorInstrumentation.py b/core/inspector/CodeGeneratorInstrumentation.py
index 5cfe1f979df7a6aea82002f5dfb483ae4a3596ea..ce639eba284234ed68099d67f23d99fe5a3927a7 100644
--- a/core/inspector/CodeGeneratorInstrumentation.py
+++ b/core/inspector/CodeGeneratorInstrumentation.py
@@ -261,7 +261,6 @@ class Method:
if not "Keep" in self.params_impl[0].options:
self.params_impl = self.params_impl[1:]
self.params_impl = [Parameter("InstrumentingAgents* agents")] + self.params_impl
- self.agents_selector_class = re.match("(\w*)", self.params[0].type).group(1)
self.agents = filter(lambda option: not "=" in option, self.options)
@@ -288,8 +287,7 @@ class Method:
condition = ""
template = template_inline_forward
else:
- condition = "InstrumentingAgents* agents = instrumentingAgentsFor%s(%s)" % (
- self.agents_selector_class, self.params[0].name)
+ condition = "InstrumentingAgents* agents = instrumentingAgentsFor(%s)" % self.params[0].name
if self.returns_value:
template = template_inline_returns_value
« no previous file with comments | « core/html/track/TrackEvent.idl ('k') | core/inspector/InspectorFrontendHost.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698