diff options
Diffstat (limited to 'webkit/tools/test_shell/test_shell_webthemeengine.cc')
-rw-r--r-- | webkit/tools/test_shell/test_shell_webthemeengine.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/webkit/tools/test_shell/test_shell_webthemeengine.cc b/webkit/tools/test_shell/test_shell_webthemeengine.cc index 8c457a8..6deb9a8 100644 --- a/webkit/tools/test_shell/test_shell_webthemeengine.cc +++ b/webkit/tools/test_shell/test_shell_webthemeengine.cc @@ -543,11 +543,12 @@ void Engine::paintTrackbar(WebCanvas* canvas, int part, int state, void Engine::paintProgressBar(WebKit::WebCanvas* canvas, const WebKit::WebRect& barRect, - int valuePart, const WebKit::WebRect& valueRect) { - Control::Type ctype = Control::kProgressBar_Type; - Control::State cstate = valuePart == PP_FILL ? - Control::kNormal_State : Control::kIndeterminate_State; - drawProgressBar(canvas, ctype, cstate, barRect, valueRect); + const WebKit::WebRect& valueRect, + bool determinate, double) { + Control::Type ctype = Control::kProgressBar_Type; + Control::State cstate = + determinate ? Control::kNormal_State : Control::kIndeterminate_State; + drawProgressBar(canvas, ctype, cstate, barRect, valueRect); } } // namespace TestShellWebTheme |