2011-04-06 Benjamin Poulain <benjamin.poulain@nokia.com>

        Reviewed by Darin Adler.

        ClipboardWin has unused variables "ExceptionCode ec"
        https://bugs.webkit.org/show_bug.cgi?id=57952

        Remove the unused variable.

        * platform/win/ClipboardWin.cpp:
        (WebCore::ClipboardWin::declareAndWriteDragImage):
        (WebCore::ClipboardWin::writePlainText):

git-svn-id: svn://svn.chromium.org/blink/trunk@83067 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 206f5a00
2011-04-06 Benjamin Poulain <benjamin.poulain@nokia.com>
Reviewed by Darin Adler.
ClipboardWin has unused variables "ExceptionCode ec"
https://bugs.webkit.org/show_bug.cgi?id=57952
Remove the unused variable.
* platform/win/ClipboardWin.cpp:
(WebCore::ClipboardWin::declareAndWriteDragImage):
(WebCore::ClipboardWin::writePlainText):
2011-04-06 Ryosuke Niwa <rniwa@webkit.org> 2011-04-06 Ryosuke Niwa <rniwa@webkit.org>
Reviewed by Dimitri Glazkov. Reviewed by Dimitri Glazkov.
...@@ -703,7 +703,6 @@ void ClipboardWin::declareAndWriteDragImage(Element* element, const KURL& url, c ...@@ -703,7 +703,6 @@ void ClipboardWin::declareAndWriteDragImage(Element* element, const KURL& url, c
return; return;
STGMEDIUM medium = {0}; STGMEDIUM medium = {0};
medium.tymed = TYMED_HGLOBAL; medium.tymed = TYMED_HGLOBAL;
ExceptionCode ec = 0;
// Put img tag on the clipboard referencing the image // Put img tag on the clipboard referencing the image
Vector<char> data; Vector<char> data;
...@@ -791,7 +790,6 @@ void ClipboardWin::writePlainText(const String& text) ...@@ -791,7 +790,6 @@ void ClipboardWin::writePlainText(const String& text)
STGMEDIUM medium = {0}; STGMEDIUM medium = {0};
medium.tymed = TYMED_HGLOBAL; medium.tymed = TYMED_HGLOBAL;
ExceptionCode ec = 0;
String str = text; String str = text;
replaceNewlinesWithWindowsStyleNewlines(str); replaceNewlinesWithWindowsStyleNewlines(str);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment