Index: chrome/renderer/render_view.cc |
=================================================================== |
--- chrome/renderer/render_view.cc (revision 69803) |
+++ chrome/renderer/render_view.cc (working copy) |
@@ -2243,7 +2243,7 @@ |
} |
void RenderView::didChangeSelection(bool is_empty_selection) { |
-#if defined(USE_X11) || defined(OS_MACOSX) |
+#if defined(OS_POSIX) |
if (!handling_input_event_) |
return; |
// TODO(estade): investigate incremental updates to the selection so that we |
@@ -2265,7 +2265,7 @@ |
Send(new ViewHostMsg_SelectionChanged(routing_id_, |
last_selection_)); |
} |
-#endif |
+#endif // defined(OS_POSIX) |
} |
void RenderView::didExecuteCommand(const WebString& command_name) { |
@@ -5631,8 +5631,7 @@ |
} |
#if defined(ENABLE_CLIENT_BASED_GEOLOCATION) |
-WebKit::WebGeolocationClient* RenderView::geolocationClient() |
-{ |
+WebKit::WebGeolocationClient* RenderView::geolocationClient() { |
if (!geolocation_dispatcher_.get()) |
geolocation_dispatcher_.reset(new GeolocationDispatcher(this)); |
return geolocation_dispatcher_.get(); |