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

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: Fix merge 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
« no previous file with comments | « Source/core/platform/graphics/FontPlatformData.h ('k') | Source/web/WebFrameImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/EditorClientImpl.cpp
diff --git a/Source/web/EditorClientImpl.cpp b/Source/web/EditorClientImpl.cpp
index 8a53e4f2ad3f488e99d004a4e00dfd21485d9b1a..46103b688288d94304ec501b34c36086149c6e55 100644
--- a/Source/web/EditorClientImpl.cpp
+++ b/Source/web/EditorClientImpl.cpp
@@ -769,10 +769,10 @@ bool EditorClientImpl::spellingUIIsShowing()
bool EditorClientImpl::supportsGlobalSelection()
{
-#if OS(POSIX) && !OS(MACOSX)
- return true;
-#else
+#if OS(WIN) || OS(MACOSX)
return false;
+#else
+ return true;
#endif
}
« no previous file with comments | « Source/core/platform/graphics/FontPlatformData.h ('k') | Source/web/WebFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698