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

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

Issue 2891933004: Remove raw base::DictionaryValue::Set in //content (Closed)
Patch Set: 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 61d597ac6d507f0cb3c6eeae3a482fc5a34a6d6e..953086f414c1a3fbdb417c8a0a79b3db494bbfec 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 int NumberOfRendererRasterThreads();
// Returns true if main thread can be pipelined with activation.
CONTENT_EXPORT bool IsMainFrameBeforeActivationEnabled();
-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