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

Unified Diff: Source/core/inspector/CodeGeneratorInstrumentation.py

Issue 1004113004: [DevTools] Do not instrument with InspectorInspectorAgent. (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
Index: Source/core/inspector/CodeGeneratorInstrumentation.py
diff --git a/Source/core/inspector/CodeGeneratorInstrumentation.py b/Source/core/inspector/CodeGeneratorInstrumentation.py
index 82a49f344b965ec8f7305f3ede918ce76e070a42..2dba8ba3730701312e0c3783d7d8e8acbc7033bf 100755
--- a/Source/core/inspector/CodeGeneratorInstrumentation.py
+++ b/Source/core/inspector/CodeGeneratorInstrumentation.py
@@ -501,6 +501,8 @@ def generate(input_path, output_dir):
cpp_includes = []
cpp_lines = []
used_agents = set()
+ # FIXME(dgozman): remove this hack once InjectedScriptHost does not use InstrumentingAgents.
+ used_agents.add("Inspector")
for f in files:
cpp_includes.append(include_header(f.header_name))
« no previous file with comments | « no previous file | Source/core/inspector/InspectorInspectorAgent.h » ('j') | Source/core/inspector/InspectorInspectorAgent.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698