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

Unified Diff: chrome/browser/devtools/devtools_protocol.h

Issue 305013006: Fix memory leak in DevToolsProtocol::ParseCommand (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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 | chrome/browser/devtools/devtools_protocol.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/devtools/devtools_protocol.h
diff --git a/chrome/browser/devtools/devtools_protocol.h b/chrome/browser/devtools/devtools_protocol.h
index 2e658105c90d2874dd67a2e835ec5e07664ab8b8..68b09f2f25417353e9194fef2d943bc72c90f380 100644
--- a/chrome/browser/devtools/devtools_protocol.h
+++ b/chrome/browser/devtools/devtools_protocol.h
@@ -26,7 +26,6 @@ class DevToolsProtocol {
base::DictionaryValue* params() { return params_.get(); }
protected:
- // Takes ownership of |params|.
Message(const std::string& method, base::DictionaryValue* params);
std::string method_;
@@ -38,7 +37,6 @@ class DevToolsProtocol {
class Command : public Message {
public:
- // Takes ownership of |params|.
Command(int id, const std::string& method, base::DictionaryValue* params);
virtual ~Command();
« no previous file with comments | « no previous file | chrome/browser/devtools/devtools_protocol.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698