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

Unified Diff: chrome/test/chromedriver/element_util.h

Issue 2285933003: Remove more usage of the base::ListValue::Append(Value*) overload. (Closed)
Patch Set: Small fixes Created 4 years, 4 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: chrome/test/chromedriver/element_util.h
diff --git a/chrome/test/chromedriver/element_util.h b/chrome/test/chromedriver/element_util.h
index 445ffcdfdf43ae3cf3d439958195eb93c9a4cabe..3131bd13082e475acbb6b05bf3c22db94209b6cc 100644
--- a/chrome/test/chromedriver/element_util.h
+++ b/chrome/test/chromedriver/element_util.h
@@ -20,9 +20,10 @@ struct Session;
class Status;
class WebView;
-base::DictionaryValue* CreateElement(const std::string& element_id);
+std::unique_ptr<base::DictionaryValue> CreateElement(
+ const std::string& element_id);
-base::Value* CreateValueFrom(const WebPoint& point);
+std::unique_ptr<base::DictionaryValue> CreateValueFrom(const WebPoint& point);
// |root_element_id| could be null when no root element is given.
Status FindElement(int interval_ms,

Powered by Google App Engine
This is Rietveld 408576698