Index: Source/core/platform/chromium/ClipboardChromium.cpp |
diff --git a/Source/core/platform/chromium/ClipboardChromium.cpp b/Source/core/platform/chromium/ClipboardChromium.cpp |
index 48b258c7a0d5cf13f523306bdb6713c587a9443b..451a8aa9931dcaa0d3acb5296913ab60b436c787 100644 |
--- a/Source/core/platform/chromium/ClipboardChromium.cpp |
+++ b/Source/core/platform/chromium/ClipboardChromium.cpp |
@@ -442,7 +442,7 @@ void ClipboardChromium::writeRange(Range* selectedRange, Frame* frame) |
m_dataObject->setHTMLAndBaseURL(createMarkup(selectedRange, 0, AnnotateForInterchange, false, ResolveNonLocalURLs), frame->document()->url()); |
String str = frame->selectedTextForClipboard(); |
-#if OS(WINDOWS) |
+#if OS(WIN) |
replaceNewlinesWithWindowsStyleNewlines(str); |
#endif |
replaceNBSPWithSpace(str); |
@@ -455,7 +455,7 @@ void ClipboardChromium::writePlainText(const String& text) |
return; |
String str = text; |
-#if OS(WINDOWS) |
+#if OS(WIN) |
replaceNewlinesWithWindowsStyleNewlines(str); |
#endif |
replaceNBSPWithSpace(str); |