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

Unified Diff: components/component_updater/component_patcher.cc

Issue 505203003: Remove implicit conversions from scoped_refptr to T* in components/component_updater/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « no previous file | components/component_updater/default_component_installer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/component_updater/component_patcher.cc
diff --git a/components/component_updater/component_patcher.cc b/components/component_updater/component_patcher.cc
index 4aac7c5791157c00c13edd34f9ee86eb3dbf205d..9a429c5279a9e405d4ca690af5489a775eba33ba 100644
--- a/components/component_updater/component_patcher.cc
+++ b/components/component_updater/component_patcher.cc
@@ -91,7 +91,7 @@ void ComponentPatcher::PatchNextFile() {
CreateDeltaUpdateOp(operation, out_of_process_patcher_);
}
- if (!current_operation_) {
+ if (!current_operation_.get()) {
DonePatching(ComponentUnpacker::kDeltaUnsupportedCommand, 0);
return;
}
« no previous file with comments | « no previous file | components/component_updater/default_component_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698