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

Unified Diff: webkit/plugins/npapi/webplugin_delegate_impl.cc

Issue 12545059: ifdef OS_NAME -> if defined(OS_NAME) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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: webkit/plugins/npapi/webplugin_delegate_impl.cc
diff --git a/webkit/plugins/npapi/webplugin_delegate_impl.cc b/webkit/plugins/npapi/webplugin_delegate_impl.cc
index 3ff611632fd1e6e858bb21d759c175ba3f1de840..0c4ae8745b0413374f01833df877d6047217fdf8 100644
--- a/webkit/plugins/npapi/webplugin_delegate_impl.cc
+++ b/webkit/plugins/npapi/webplugin_delegate_impl.cc
@@ -157,7 +157,7 @@ void WebPluginDelegateImpl::SetFocus(bool focused) {
// mode when it loses focus, and its full screen window causes the browser to
// lose focus.
has_webkit_focus_ = focused;
-#ifndef OS_WIN
+#if !defined(OS_WIN)
if (containing_view_has_focus_)
SetPluginHasFocus(focused);
#else
@@ -176,7 +176,7 @@ void WebPluginDelegateImpl::SetContentAreaHasFocus(bool has_focus) {
containing_view_has_focus_ = has_focus;
if (!windowless_)
return;
-#ifndef OS_WIN // See SetFocus above.
+#if !defined(OS_WIN) // See SetFocus above.
SetPluginHasFocus(containing_view_has_focus_ && has_webkit_focus_);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698