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

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

Issue 326013005: DevTools: minor improvements of CodeGenerator code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/CodeGeneratorInspectorStrings.py
diff --git a/Source/core/inspector/CodeGeneratorInspectorStrings.py b/Source/core/inspector/CodeGeneratorInspectorStrings.py
index c83294ea1e00300a702e72c9c494707d54ac0768..f9b812769c4df54e417243cc1a22363352b26947 100644
--- a/Source/core/inspector/CodeGeneratorInspectorStrings.py
+++ b/Source/core/inspector/CodeGeneratorInspectorStrings.py
@@ -53,8 +53,8 @@ $methodCode
reportProtocolError(&callId, InvalidParams, String::format(InvalidParamsFormatString, commandName($commandNameIndex)), protocolErrors);
return;
}
- ErrorString error;
- $agentField->$methodName(&error$agentCallParams);
+$agentCallParamsDeclaration
+ $agentField->$methodName($agentCallParams);
$responseCook
sendResponse(callId, $sendResponseCallParams);
}

Powered by Google App Engine
This is Rietveld 408576698