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

Unified Diff: extensions/renderer/dom_activity_logger.cc

Issue 388963002: Get rid of the rest of CreateStringValue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad rebase Created 6 years, 5 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: extensions/renderer/dom_activity_logger.cc
diff --git a/extensions/renderer/dom_activity_logger.cc b/extensions/renderer/dom_activity_logger.cc
index 2d8ca4667a122350ec3a63af72506a33579edc16..98408ee4576105b7d8ae417494858b2e12562094 100644
--- a/extensions/renderer/dom_activity_logger.cc
+++ b/extensions/renderer/dom_activity_logger.cc
@@ -112,7 +112,7 @@ void DOMActivityLogger::logEvent(const WebString& event_name,
scoped_ptr<base::ListValue> args(new base::ListValue);
std::string event_name_utf8 = event_name.utf8();
for (int i = 0; i < argc; ++i)
- args->Append(base::Value::CreateStringValue(argv[i]));
+ args->Append(new base::StringValue(argv[i]));
SendDomActionMessage(
event_name_utf8, url, title, DomActionType::METHOD, args.Pass());
}
« no previous file with comments | « extensions/common/event_filter_unittest.cc ('k') | tools/json_schema_compiler/test/additional_properties_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698