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/browser/api/storage/storage_api_unittest.cc

Issue 1609923002: Fix remaining incompatibilities between scoped_ptr and unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/browser/api/storage/storage_api_unittest.cc
diff --git a/extensions/browser/api/storage/storage_api_unittest.cc b/extensions/browser/api/storage/storage_api_unittest.cc
index f09fa9178aeda636e551540b7d6e9666428ea74c..f987db297748eac05a55c0951fb62007c7768868 100644
--- a/extensions/browser/api/storage/storage_api_unittest.cc
+++ b/extensions/browser/api/storage/storage_api_unittest.cc
@@ -67,7 +67,8 @@ class StorageApiUnittest : public ApiUnitTest {
return testing::AssertionFailure() << "No result";
base::DictionaryValue* dict = NULL;
if (!result->GetAsDictionary(&dict))
- return testing::AssertionFailure() << result << " was not a dictionary.";
+ return testing::AssertionFailure() << result.get()
+ << " was not a dictionary.";
if (!dict->GetString(key, value)) {
return testing::AssertionFailure() << " could not retrieve a string from"
<< dict << " at " << key;

Powered by Google App Engine
This is Rietveld 408576698