| Index: public/web/WebWidget.h
|
| diff --git a/public/web/WebWidget.h b/public/web/WebWidget.h
|
| index 0366479df6667e98b3d8b468347bed1786339bbb..397d8252913077685a4cf27c8adce1a576e95182 100644
|
| --- a/public/web/WebWidget.h
|
| +++ b/public/web/WebWidget.h
|
| @@ -98,21 +98,6 @@ public:
|
| // should be called before paint.
|
| virtual void enterForceCompositingMode(bool enter) { }
|
|
|
| - enum PaintOptions {
|
| - // Attempt to fulfill the painting request by reading back from the
|
| - // compositor, assuming we're using a compositor to render.
|
| - ReadbackFromCompositorIfAvailable,
|
| -
|
| - // Force the widget to rerender onto the canvas using software. This
|
| - // mode ignores 3d transforms and ignores GPU-resident content, such
|
| - // as video, canvas, and WebGL.
|
| - //
|
| - // Note: This option exists on OS(ANDROID) and will hopefully be
|
| - // removed once the link disambiguation feature renders using
|
| - // the compositor.
|
| - ForceSoftwareRenderingAndIgnoreGPUResidentContent,
|
| - };
|
| -
|
| // Called to paint the rectangular region within the WebWidget
|
| // onto the specified canvas at (viewPort.x,viewPort.y). You MUST call
|
| // Layout before calling this method. It is okay to call paint
|
| @@ -120,7 +105,7 @@ public:
|
| // changes are made to the WebWidget (e.g., once events are
|
| // processed, it should be assumed that another call to layout is
|
| // warranted before painting again).
|
| - virtual void paint(WebCanvas*, const WebRect& viewPort, PaintOptions = ReadbackFromCompositorIfAvailable) { }
|
| + virtual void paint(WebCanvas*, const WebRect& viewPort) { }
|
|
|
| // The caller is responsible for keeping the WebCompositeAndReadbackAsyncCallback
|
| // object alive until it is called.
|
|
|