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

Unified Diff: generate_delta_main.cc

Issue 5516009: AU: Split applied update verification into a separate step. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git@master
Patch Set: review comments Created 10 years 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 | « filesystem_copier_action_unittest.cc ('k') | install_plan.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generate_delta_main.cc
diff --git a/generate_delta_main.cc b/generate_delta_main.cc
index 39a0e08728ec5632a73dca19a34b6ece0e172774..6e9e5530b1f0ac650fcc93f4a0a18aaf71e7b9f5 100644
--- a/generate_delta_main.cc
+++ b/generate_delta_main.cc
@@ -90,8 +90,8 @@ int Main(int argc, char** argv) {
vector<char> root_hash(root_info.hash().begin(),
root_info.hash().end());
DeltaPerformer performer(&prefs);
- performer.set_current_kernel_hash(&kern_hash);
- performer.set_current_rootfs_hash(&root_hash);
+ performer.set_current_kernel_hash(kern_hash);
+ performer.set_current_rootfs_hash(root_hash);
CHECK_EQ(performer.Open(FLAGS_old_image.c_str(), 0, 0), 0);
CHECK(performer.OpenKernel(FLAGS_old_kernel.c_str()));
vector<char> buf(1024 * 1024);
« no previous file with comments | « filesystem_copier_action_unittest.cc ('k') | install_plan.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698