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

Unified Diff: content/browser/plugin_loader_posix.cc

Issue 9297049: PluginLoaderPosix: Fix an off by one error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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: content/browser/plugin_loader_posix.cc
diff --git a/content/browser/plugin_loader_posix.cc b/content/browser/plugin_loader_posix.cc
index 9701a7289afe51e198621441e1b98757635dcc51..909674dc50f34363c2fcce9a0a78628fdbcd91ff 100644
--- a/content/browser/plugin_loader_posix.cc
+++ b/content/browser/plugin_loader_posix.cc
@@ -45,7 +45,7 @@ bool PluginLoaderPosix::OnMessageReceived(const IPC::Message& message) {
void PluginLoaderPosix::OnProcessCrashed(int exit_code) {
canonical_list_.erase(canonical_list_.begin(),
- canonical_list_.begin() + next_load_index_ + 1);
+ canonical_list_.begin() + next_load_index_);
next_load_index_ = 0;
LoadPluginsInternal();
« no previous file with comments | « no previous file | content/browser/plugin_loader_posix_unittest.cc » ('j') | content/browser/plugin_loader_posix_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698