| Index: content/test/gpu/gpu_tests/screenshot_sync_integration_test.py
|
| diff --git a/content/test/gpu/gpu_tests/screenshot_sync_integration_test.py b/content/test/gpu/gpu_tests/screenshot_sync_integration_test.py
|
| index e6c1dc8735bc25cf3cd8307e3e264ff85058a617..76f1a6e33fc2fe9f06f3660a471748b8de961792 100644
|
| --- a/content/test/gpu/gpu_tests/screenshot_sync_integration_test.py
|
| +++ b/content/test/gpu/gpu_tests/screenshot_sync_integration_test.py
|
| @@ -115,8 +115,9 @@ class ScreenshotSyncIntegrationTest(gpu_integration_test.GpuIntegrationTest):
|
| random.randint(0, 255),
|
| 255)
|
| tab = self.tab
|
| - tab.EvaluateJavaScript("window.draw(%d, %d, %d);" % (
|
| - canvasRGB.r, canvasRGB.g, canvasRGB.b))
|
| + tab.EvaluateJavaScript2(
|
| + "window.draw({{ red }}, {{ green }}, {{ blue }});",
|
| + red=canvasRGB.r, green=canvasRGB.g, blue=canvasRGB.b)
|
| screenshot = tab.Screenshot(5)
|
| start_x = 10
|
| start_y = 0
|
|
|