summaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
authorestade <estade@chromium.org>2015-05-12 11:11:50 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-12 18:12:00 +0000
commita68b0442058dc2c5e61177b88697d8a461667328 (patch)
treec78360424be712d325ff8f8ea428c2703d655899 /cc
parent90e34895f20edf97693c14ac0ec6faf64dbdcd91 (diff)
downloadchromium_src-a68b0442058dc2c5e61177b88697d8a461667328.zip
chromium_src-a68b0442058dc2c5e61177b88697d8a461667328.tar.gz
chromium_src-a68b0442058dc2c5e61177b88697d8a461667328.tar.bz2
More base::Values-related bare pointer -> scoped_ptr conversions
main change: Value::CreateNullValue returns a scoped_ptr BUG=none Review URL: https://codereview.chromium.org/1129083003 Cr-Commit-Position: refs/heads/master@{#329443}
Diffstat (limited to 'cc')
-rw-r--r--cc/debug/invalidation_benchmark.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/debug/invalidation_benchmark.cc b/cc/debug/invalidation_benchmark.cc
index bb98bcc..6fd3d3e 100644
--- a/cc/debug/invalidation_benchmark.cc
+++ b/cc/debug/invalidation_benchmark.cc
@@ -116,7 +116,7 @@ bool InvalidationBenchmark::ProcessMessage(scoped_ptr<base::Value> value) {
if (message->HasKey("notify_done")) {
message->GetBoolean("notify_done", &notify_done);
if (notify_done)
- NotifyDone(scoped_ptr<base::Value>(base::Value::CreateNullValue()));
+ NotifyDone(base::Value::CreateNullValue());
return true;
}
return false;