| Index: webkit/tools/test_shell/webwidget_host.h
|
| diff --git a/webkit/tools/test_shell/webwidget_host.h b/webkit/tools/test_shell/webwidget_host.h
|
| index 2fc2a101c124522485e313d369f22e195aa0d04c..49c0ba798483468ae11a407d896d3c68768f4c3f 100644
|
| --- a/webkit/tools/test_shell/webwidget_host.h
|
| +++ b/webkit/tools/test_shell/webwidget_host.h
|
| @@ -61,6 +61,12 @@ class WebWidgetHost {
|
|
|
| WebKit::WebScreenInfo GetScreenInfo();
|
|
|
| + // Paints the entire canvas a semi-transparent black (grayish). This is used
|
| + // by the layout tests in fast/repaint. The alpha value matches upstream.
|
| + void DisplayRepaintMask() {
|
| + canvas()->drawARGB(167, 0, 0, 0);
|
| + }
|
| +
|
| protected:
|
| WebWidgetHost();
|
| ~WebWidgetHost();
|
|
|