Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2743)

Unified Diff: Source/web/EditorClientImpl.cpp

Issue 23654015: Avoid using !OS() constructs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: git cl try Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/web/EditorClientImpl.cpp
diff --git a/Source/web/EditorClientImpl.cpp b/Source/web/EditorClientImpl.cpp
index dd4255ad0f1805050aa8bef0f13b9fe4ddde8f0f..d4b4e944a1740b7a8fa3cb9b24c605bb6c872f8b 100644
--- a/Source/web/EditorClientImpl.cpp
+++ b/Source/web/EditorClientImpl.cpp
@@ -769,10 +769,10 @@ bool EditorClientImpl::spellingUIIsShowing()
bool EditorClientImpl::supportsGlobalSelection()
{
-#if OS(UNIX) && !OS(MACOSX)
- return true;
-#else
+#if OS(WINDOWS) || OS(MACOSX)
return false;
+#else
+ return true;
#endif
}

Powered by Google App Engine
This is Rietveld 408576698