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

Unified Diff: extensions/renderer/native_extension_bindings_system_unittest.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: update 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: extensions/renderer/native_extension_bindings_system_unittest.cc
diff --git a/extensions/renderer/native_extension_bindings_system_unittest.cc b/extensions/renderer/native_extension_bindings_system_unittest.cc
index 6bd27884b30abf1511445ea38860a9ad974a7b69..f4f523cfd5fbd087e424c1579e01d2d5ee5d9a3f 100644
--- a/extensions/renderer/native_extension_bindings_system_unittest.cc
+++ b/extensions/renderer/native_extension_bindings_system_unittest.cc
@@ -99,7 +99,7 @@ class NativeExtensionBindingsSystemUnittest : public APIBindingTest {
}
void TearDown() override {
- for (const auto& context : raw_script_contexts_)
+ for (auto* context : raw_script_contexts_)
script_context_set_->Remove(context);
base::RunLoop().RunUntilIdle();
script_context_set_.reset();

Powered by Google App Engine
This is Rietveld 408576698