Index: chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc |
diff --git a/chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc b/chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc |
index e43d41c04ba4ac8e5253ad483a7fe8433b5f2dc2..5fa78ffb1a5a31cd59e9ff8d5a28b2ccd886c64a 100644 |
--- a/chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc |
+++ b/chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc |
@@ -451,10 +451,10 @@ void PerformanceMonitorHandler::HandleGetFlagEnabled( |
const base::ListValue* args) { |
DCHECK_CURRENTLY_ON(BrowserThread::UI); |
CHECK_EQ(0u, args->GetSize()); |
- scoped_ptr<base::Value> value(base::Value::CreateBooleanValue( |
+ base::FundamentalValue value( |
CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kPerformanceMonitorGathering))); |
- ReturnResults("PerformanceMonitor.getFlagEnabledCallback", value.get()); |
+ switches::kPerformanceMonitorGathering)); |
+ ReturnResults("PerformanceMonitor.getFlagEnabledCallback", &value); |
} |
void PerformanceMonitorHandler::HandleGetAggregationTypes( |