Index: ui/views/widget/native_widget_delegate.h |
diff --git a/ui/views/widget/native_widget_delegate.h b/ui/views/widget/native_widget_delegate.h |
index 7c75e1b4792dda0e4ba7e8780dc5e693e89e7734..4f5ed9ee71d80bd37a759dc214a2908f1835e811 100644 |
--- a/ui/views/widget/native_widget_delegate.h |
+++ b/ui/views/widget/native_widget_delegate.h |
@@ -106,11 +106,6 @@ class VIEWS_EXPORT NativeWidgetDelegate { |
// Returns true if the delegate has a FocusManager. |
virtual bool HasFocusManager() const = 0; |
- // Paints the widget using acceleration. If the widget is not using |
- // accelerated painting this returns false and does nothing. |
- virtual bool OnNativeWidgetPaintAccelerated( |
- const gfx::Rect& dirty_region) = 0; |
- |
// Paints the rootview in the context. This will also refresh the compositor |
// tree if necessary. |
virtual void OnNativeWidgetPaint(const ui::PaintContext& context) = 0; |