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

Unified Diff: content/browser/gpu/compositor_util.h

Issue 2891933004: Remove raw base::DictionaryValue::Set in //content (Closed)
Patch Set: Rebase Created 3 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 | « content/browser/devtools/protocol/system_info_handler.cc ('k') | content/browser/gpu/compositor_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/compositor_util.h
diff --git a/content/browser/gpu/compositor_util.h b/content/browser/gpu/compositor_util.h
index 140eaf8fd38f4cee63e2c7af8abaf30068e78baa..5bf374975d1af05af34606255b1aa228672ea353 100644
--- a/content/browser/gpu/compositor_util.h
+++ b/content/browser/gpu/compositor_util.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_
#define CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_
+#include <memory>
+
#include "base/values.h"
#include "content/common/content_export.h"
@@ -42,8 +44,8 @@ CONTENT_EXPORT bool IsMainFrameBeforeActivationEnabled();
// Returns true if images can be decode asynchronously from rasterization.
CONTENT_EXPORT bool IsCheckerImagingEnabled();
-CONTENT_EXPORT base::DictionaryValue* GetFeatureStatus();
-CONTENT_EXPORT base::Value* GetProblems();
+CONTENT_EXPORT std::unique_ptr<base::DictionaryValue> GetFeatureStatus();
+CONTENT_EXPORT std::unique_ptr<base::ListValue> GetProblems();
CONTENT_EXPORT std::vector<std::string> GetDriverBugWorkarounds();
} // namespace content
« no previous file with comments | « content/browser/devtools/protocol/system_info_handler.cc ('k') | content/browser/gpu/compositor_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698