Index: chrome/renderer/geolocation_dispatcher_old.cc |
diff --git a/chrome/renderer/geolocation_dispatcher_old.cc b/chrome/renderer/geolocation_dispatcher_old.cc |
index a6eff8bf449d172b2543575f544064c511513130..4a235c73b9a802316db6aa173bcb0d8483a9e162 100644 |
--- a/chrome/renderer/geolocation_dispatcher_old.cc |
+++ b/chrome/renderer/geolocation_dispatcher_old.cc |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#if !defined(ENABLE_CLIENT_BASED_GEOLOCATION) |
#include "chrome/renderer/geolocation_dispatcher_old.h" |
- |
#include "base/command_line.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/renderer/render_view.h" |
@@ -113,3 +113,4 @@ void GeolocationDispatcherOld::OnGeolocationPositionUpdated( |
} |
} |
} |
+#endif // !ENABLE_CLIENT_BASED_GEOLOCATION |