diff options
Diffstat (limited to 'WebCore/page/win/FrameCGWin.cpp')
-rw-r--r-- | WebCore/page/win/FrameCGWin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/page/win/FrameCGWin.cpp b/WebCore/page/win/FrameCGWin.cpp index b61deef..62d33ef 100644 --- a/WebCore/page/win/FrameCGWin.cpp +++ b/WebCore/page/win/FrameCGWin.cpp @@ -87,7 +87,7 @@ HBITMAP imageFromSelection(Frame* frame, bool forceBlackText) frame->document()->updateLayout(); frame->view()->setPaintBehavior(PaintBehaviorSelectionOnly | (forceBlackText ? PaintBehaviorForceBlackText : 0)); - FloatRect fr = frame->selectionBounds(); + FloatRect fr = frame->selection()->bounds(); IntRect ir(static_cast<int>(fr.x()), static_cast<int>(fr.y()), static_cast<int>(fr.width()), static_cast<int>(fr.height())); HBITMAP image = imageFromRect(frame, ir); |