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

Unified Diff: ash/common/devtools/ash_devtools_css_agent.cc

Issue 2721553004: Remove auto raw pointer deduction from non-linux specific code. (Closed)
Patch Set: rebase Created 3 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
Index: ash/common/devtools/ash_devtools_css_agent.cc
diff --git a/ash/common/devtools/ash_devtools_css_agent.cc b/ash/common/devtools/ash_devtools_css_agent.cc
index 1af835a9d538fdd70bc2ac486bf53be2b02b1020..bd13af21dc77bb6c9e5a8d017b276ecfcc3be5a0 100644
--- a/ash/common/devtools/ash_devtools_css_agent.cc
+++ b/ash/common/devtools/ash_devtools_css_agent.cc
@@ -129,7 +129,7 @@ ui::devtools::protocol::Response AshDevToolsCSSAgent::setStyleTexts(
updated_styles = ui::devtools::protocol::Array<
ui::devtools::protocol::CSS::CSSStyle>::create();
for (size_t i = 0; i < edits->length(); i++) {
- const auto& edit = edits->get(i);
+ auto* edit = edits->get(i);
int node_id;
if (!base::StringToInt(edit->getStyleSheetId(), &node_id))
return ui::devtools::protocol::Response::Error("Invalid node id");
« no previous file with comments | « android_webview/browser/aw_browser_terminator.cc ('k') | ash/common/system/chromeos/ime_menu/ime_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698