Not reviewed - Windows build fix.
authorpewtermoose <pewtermoose@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Jul 2007 07:01:56 +0000 (07:01 +0000)
committerpewtermoose <pewtermoose@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Jul 2007 07:01:56 +0000 (07:01 +0000)
        * bridge/win/FrameWin.cpp:
        (WebCore::imageFromSelection):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24044 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/bridge/win/FrameWin.cpp

index c17dce27caf8ee87e7f5561a3192c47801e0a865..59c3935579fd2c8a8cff00fd1feed7a82d4333e4 100644 (file)
@@ -1,3 +1,10 @@
+2007-07-06  Matt Lilek  <pewtermoose@gmail.com>
+
+        Not reviewed - Windows build fix.
+
+        * bridge/win/FrameWin.cpp:
+        (WebCore::imageFromSelection):
+
 2007-07-06  George Staikos  <staikos@kde.org>
 
         Reviewed by Maciej.
index 2f797ddb6c1d4791913059b0c36ad47ed8ff1035..f830ea18c3b7487e8abb16e0700618b39949ef53 100644 (file)
@@ -146,9 +146,9 @@ static void drawRectIntoContext(IntRect rect, FrameView* view, GraphicsContext*
     view->paint(gc, rect);
 }
 
-HBITMAP imageFromSelection(Frame* frame, bool forceWhiteText)
+HBITMAP imageFromSelection(Frame* frame, bool forceBlackText)
 {
-    frame->setPaintRestriction(forceWhiteText ? PaintRestrictionSelectionOnlyWhiteText : PaintRestrictionSelectionOnly);
+    frame->setPaintRestriction(forceBlackText ? PaintRestrictionSelectionOnlyBlackText : PaintRestrictionSelectionOnly);
     FloatRect fr = frame->selectionRect();
     IntRect ir((int)fr.x(), (int)fr.y(),(int)fr.width(),(int)fr.height());