From e3a056840d61b1faad8baffd5b800be03e0e7f79 Mon Sep 17 00:00:00 2001 From: Patrick Scott Date: Thu, 13 Jan 2011 11:34:52 -0500 Subject: Remove temporary work-around for auto login. This is no longer needed as we are taking a different approach to auto login. Change-Id: If665c740d958c4947527ce32e2b7f858736cac2b --- WebKit/android/WebCoreSupport/WebUrlLoaderClient.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'WebKit/android/WebCoreSupport/WebUrlLoaderClient.cpp') diff --git a/WebKit/android/WebCoreSupport/WebUrlLoaderClient.cpp b/WebKit/android/WebCoreSupport/WebUrlLoaderClient.cpp index 29a97cc..437ffe0 100644 --- a/WebKit/android/WebCoreSupport/WebUrlLoaderClient.cpp +++ b/WebKit/android/WebCoreSupport/WebUrlLoaderClient.cpp @@ -33,7 +33,6 @@ #include "ResourceHandle.h" #include "ResourceHandleClient.h" #include "ResourceResponse.h" -#include "UserGestureIndicator.h" #include "WebCoreFrameBridge.h" #include "WebRequest.h" #include "WebResourceRequest.h" @@ -338,11 +337,6 @@ void WebUrlLoaderClient::willSendRequest(PassOwnPtr webResponse) if (!isActive()) return; - // FIXME: This implies that the original request was from a user gesture. - // For now, this is probably ok as this is just here to get the auto-login - // demo working. b/3291580. - WebCore::UserGestureIndicator gesture(WebCore::DefinitelyProcessingUserGesture); - KURL url = webResponse->createKurl(); OwnPtr resourceRequest(new WebCore::ResourceRequest(url)); m_resourceHandle->client()->willSendRequest(m_resourceHandle.get(), *resourceRequest, webResponse->createResourceResponse()); -- cgit v1.1