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

Unified Diff: content/browser/gpu/gpu_blacklist.cc

Issue 12207089: Cleanup: Remove deprecated base::Value methods from contents. Use base::Value too. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 10 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/devtools_http_handler_impl.cc ('k') | content/browser/gpu/gpu_internals_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_blacklist.cc
===================================================================
--- content/browser/gpu/gpu_blacklist.cc (revision 181443)
+++ content/browser/gpu/gpu_blacklist.cc (working copy)
@@ -1316,13 +1316,12 @@
base::ListValue* cr_bugs = new base::ListValue();
for (size_t j = 0; j < entry->cr_bugs().size(); ++j)
- cr_bugs->Append(base::Value::CreateIntegerValue(entry->cr_bugs()[j]));
+ cr_bugs->Append(new base::FundamentalValue(entry->cr_bugs()[j]));
problem->Set("crBugs", cr_bugs);
base::ListValue* webkit_bugs = new base::ListValue();
for (size_t j = 0; j < entry->webkit_bugs().size(); ++j) {
- webkit_bugs->Append(base::Value::CreateIntegerValue(
- entry->webkit_bugs()[j]));
+ webkit_bugs->Append(new base::FundamentalValue(entry->webkit_bugs()[j]));
}
problem->Set("webkitBugs", webkit_bugs);
« no previous file with comments | « content/browser/devtools/devtools_http_handler_impl.cc ('k') | content/browser/gpu/gpu_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698