Index: ui/base/x/x11_util.h |
diff --git a/ui/base/x/x11_util.h b/ui/base/x/x11_util.h |
index 1346f74586a49f6d8da33fd888067705d75ff9c9..b9896776b4dfb99c6a1d5e7cb53f08769e02204c 100644 |
--- a/ui/base/x/x11_util.h |
+++ b/ui/base/x/x11_util.h |
@@ -243,16 +243,6 @@ UI_BASE_EXPORT void EnumerateTopLevelWindows( |
// order. |
UI_BASE_EXPORT bool GetXWindowStack(XID window, std::vector<XID>* windows); |
-// Copies |source_bounds| from |drawable| to |canvas| at offset |dest_offset|. |
-// |source_bounds| is in physical pixels, while |dest_offset| is relative to |
-// the canvas's scale. Note that this function is slow since it uses |
-// XGetImage() to copy the data from the X server to this process before |
-// copying it to |canvas|. |
-UI_BASE_EXPORT bool CopyAreaToCanvas(XID drawable, |
- gfx::Rect source_bounds, |
- gfx::Point dest_offset, |
- gfx::Canvas* canvas); |
- |
enum WindowManagerName { |
WM_UNKNOWN, |