Title: [153985] trunk/Source/WebCore
Revision
153985
Author
[email protected]
Date
2013-08-13 00:08:12 -0700 (Tue, 13 Aug 2013)

Log Message

Yet another Windows build fix attempt after r153978.

* page/win/DragControllerWin.cpp:
(WebCore::DragController::declareAndWriteDragImage):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (153984 => 153985)


--- trunk/Source/WebCore/ChangeLog	2013-08-13 07:04:01 UTC (rev 153984)
+++ trunk/Source/WebCore/ChangeLog	2013-08-13 07:08:12 UTC (rev 153985)
@@ -1,5 +1,12 @@
 2013-08-13  Ryosuke Niwa  <[email protected]>
 
+        Yet another Windows build fix attempt after r153978.
+
+        * page/win/DragControllerWin.cpp:
+        (WebCore::DragController::declareAndWriteDragImage):
+
+2013-08-13  Ryosuke Niwa  <[email protected]>
+
         Another Windows build fix attempt after r153978.
 
         * page/win/DragControllerWin.cpp:

Modified: trunk/Source/WebCore/page/win/DragControllerWin.cpp (153984 => 153985)


--- trunk/Source/WebCore/page/win/DragControllerWin.cpp	2013-08-13 07:04:01 UTC (rev 153984)
+++ trunk/Source/WebCore/page/win/DragControllerWin.cpp	2013-08-13 07:08:12 UTC (rev 153985)
@@ -30,6 +30,7 @@
 #include "DragData.h"
 #include "FrameSelection.h"
 #include "Pasteboard.h"
+#include "markup.h"
 #include "windows.h"
 #include <wtf/RefPtr.h>
 
@@ -70,16 +71,16 @@
 
 void DragController::declareAndWriteDragImage(Clipboard* clipboard, Element* element, const KURL& url, const String& label)
 {
-    Pasteboard* pasteboard = clipboard->pasteboard();
+    Pasteboard& pasteboard = clipboard->pasteboard();
 
     // FIXME: Do we really need this check?
-    if (!pasteboard->writableDataObject())
+    if (!pasteboard.writableDataObject())
         return;
 
     // Order is important here for Explorer's sake
-    pasteboard->writeURLToWritableDataObject(url, label);
-    pasteboard->writeImageToDataObject(element, url);
-    pasteboard->writeMarkup(createMarkup(element, IncludeNode, 0, ResolveAllURLs));
+    pasteboard.writeURLToWritableDataObject(url, label);
+    pasteboard.writeImageToDataObject(element, url);
+    pasteboard.writeMarkup(createMarkup(element, IncludeNode, 0, ResolveAllURLs));
 }
 
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to