Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index eba0382f3453be34ace76c5ecbc5423274f14451..7d16a69ab7f72e3f02076243cf53c93ca9ea7723 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -120,6 +120,7 @@ |
#include "net/base/net_errors.h" |
#include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
#include "net/http/http_util.h" |
+#include "skia/ext/platform_canvas.h" |
#include "third_party/WebKit/public/platform/WebCString.h" |
#include "third_party/WebKit/public/platform/WebConnectionType.h" |
#include "third_party/WebKit/public/platform/WebDragData.h" |
@@ -202,7 +203,6 @@ |
#include "content/renderer/android/email_detector.h" |
#include "content/renderer/android/phone_number_detector.h" |
#include "net/android/network_library.h" |
-#include "skia/ext/platform_canvas.h" |
#include "third_party/WebKit/public/platform/WebFloatPoint.h" |
#include "third_party/WebKit/public/platform/WebFloatRect.h" |
#include "ui/gfx/rect_f.h" |
@@ -4047,7 +4047,7 @@ void RenderViewImpl::OnEnableViewSourceMode() { |
main_frame->enableViewSourceMode(true); |
} |
-#if defined(OS_ANDROID) |
+#if defined(OS_ANDROID) || defined(TOOLKIT_VIEWS) |
bool RenderViewImpl::didTapMultipleTargets( |
const blink::WebGestureEvent& event, |
const WebVector<WebRect>& target_rects) { |
@@ -4125,7 +4125,7 @@ bool RenderViewImpl::didTapMultipleTargets( |
return handled; |
} |
-#endif |
+#endif // defined(OS_ANDROID) || defined(TOOLKIT_VIEWS) |
unsigned RenderViewImpl::GetLocalSessionHistoryLengthForTesting() const { |
return history_list_length_; |