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

Unified Diff: skia/ext/vector_canvas_unittest.cc

Issue 18248: CommandLine API rework (Closed)
Patch Set: fixes Created 11 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
« no previous file with comments | « net/url_request/url_request_unittest.h ('k') | webkit/activex_shim/activex_shared.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/vector_canvas_unittest.cc
diff --git a/skia/ext/vector_canvas_unittest.cc b/skia/ext/vector_canvas_unittest.cc
index 9fbb2d7b7e3904f2b483fdbdc42f0dc02215021f..7f8a3095780acadfbec18d0ba4afdb89daf654db 100644
--- a/skia/ext/vector_canvas_unittest.cc
+++ b/skia/ext/vector_canvas_unittest.cc
@@ -397,7 +397,8 @@ class VectorCanvasTest : public ImageTest {
// Returns COMPARE, which is the default. If kGenerateSwitch command
// line argument is used to start this process, GENERATE is returned instead.
static ProcessAction CurrentMode() {
- return CommandLine().HasSwitch(kGenerateSwitch) ? GENERATE : COMPARE;
+ return CommandLine::ForCurrentProcess()->HasSwitch(kGenerateSwitch) ?
+ GENERATE : COMPARE;
}
// Length in x and y of the square canvas.
« no previous file with comments | « net/url_request/url_request_unittest.h ('k') | webkit/activex_shim/activex_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698