Index: content/browser/devtools/protocol/devtools_protocol_handler_generator.py |
diff --git a/content/browser/devtools/protocol/devtools_protocol_handler_generator.py b/content/browser/devtools/protocol/devtools_protocol_handler_generator.py |
index da984685ccc3796e1fd77e6cb2f245adcb7e73a7..dd4fccf13b1b8b51dbc3cfd71b9f735ddf159483 100755 |
--- a/content/browser/devtools/protocol/devtools_protocol_handler_generator.py |
+++ b/content/browser/devtools/protocol/devtools_protocol_handler_generator.py |
@@ -132,6 +132,8 @@ ${methods}\ |
private: |
friend struct ${declared_name}Builder<0>; |
+ friend class base::RefCounted<${declared_name}Builder<MASK>>; |
+ virtual ~${declared_name}Builder() {} |
${declared_name}Builder() : dict_(new base::DictionaryValue()) { |
} |