Index: Source/core/platform/Pasteboard.cpp |
diff --git a/Source/core/platform/Pasteboard.cpp b/Source/core/platform/Pasteboard.cpp |
index 6f4aa7639ca1e81eb6d1f3672c1822db21f27ea1..594cc79b6b4b532db8674a6ed6416f283b0f7ac2 100644 |
--- a/Source/core/platform/Pasteboard.cpp |
+++ b/Source/core/platform/Pasteboard.cpp |
@@ -82,7 +82,7 @@ void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, |
String html = createMarkup(selectedRange, 0, AnnotateForInterchange, false, ResolveNonLocalURLs); |
KURL url = selectedRange->startContainer()->document().url(); |
String plainText = text; |
-#if OS(WINDOWS) |
+#if OS(WIN) |
replaceNewlinesWithWindowsStyleNewlines(plainText); |
#endif |
replaceNBSPWithSpace(plainText); |
@@ -93,7 +93,7 @@ void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, |
void Pasteboard::writePlainText(const String& text, SmartReplaceOption) |
{ |
// FIXME: add support for smart replace |
-#if OS(WINDOWS) |
+#if OS(WIN) |
String plainText(text); |
replaceNewlinesWithWindowsStyleNewlines(plainText); |
WebKit::Platform::current()->clipboard()->writePlainText(plainText); |