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

Unified Diff: sky/tools/imagediff/image_diff.cc

Issue 817653003: Update from https://crrev.com/309717 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 | « skia/ext/vector_canvas_unittest.cc ('k') | testing/android/native_test_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/imagediff/image_diff.cc
diff --git a/sky/tools/imagediff/image_diff.cc b/sky/tools/imagediff/image_diff.cc
index e562048ce28c9579971e3c3886d4d2b4f848a322..4aed16adc683ed577f7993bc962d441857e1431a 100644
--- a/sky/tools/imagediff/image_diff.cc
+++ b/sky/tools/imagediff/image_diff.cc
@@ -405,8 +405,9 @@ base::FilePath FilePathFromASCII(const std::string& str) {
int main(int argc, const char* argv[]) {
base::EnableTerminationOnHeapCorruption();
- CommandLine::Init(argc, argv);
- const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess();
+ base::CommandLine::Init(argc, argv);
+ const base::CommandLine& parsed_command_line =
+ *base::CommandLine::ForCurrentProcess();
bool histograms = parsed_command_line.HasSwitch(kOptionCompareHistograms);
if (parsed_command_line.HasSwitch(kOptionPollStdin)) {
// Watch stdin for filenames.
@@ -432,7 +433,7 @@ int main(int argc, const char* argv[]) {
return 0;
}
- const CommandLine::StringVector& args = parsed_command_line.GetArgs();
+ const base::CommandLine::StringVector& args = parsed_command_line.GetArgs();
if (parsed_command_line.HasSwitch(kOptionGenerateDiff)) {
if (args.size() == 3) {
return DiffImages(base::FilePath(args[0]),
« no previous file with comments | « skia/ext/vector_canvas_unittest.cc ('k') | testing/android/native_test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698