Index: public/web/WebWidget.h |
diff --git a/public/web/WebWidget.h b/public/web/WebWidget.h |
index 6681ed6b25880d19111d170b2806fcf67d6d0912..b138033569a05f44991e7cada5b243191b54b17c 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) { } |
virtual void paintCompositedDeprecated(WebCanvas*, const WebRect&) { } |