diff options
Diffstat (limited to 'skia/ext/vector_canvas_unittest.cc')
-rw-r--r-- | skia/ext/vector_canvas_unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/skia/ext/vector_canvas_unittest.cc b/skia/ext/vector_canvas_unittest.cc index 9fbb2d7..7f8a309 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. |