summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Scott <phanna@android.com>2011-01-13 11:34:52 -0500
committerPatrick Scott <phanna@android.com>2011-01-13 11:34:52 -0500
commite3a056840d61b1faad8baffd5b800be03e0e7f79 (patch)
tree68d8f4c0eb810d26af6a8ee2d264d2bf6fd9cdec
parent3c1f14ff4e1f4842f74cb5e2b4df00c0d5354cbc (diff)
downloadexternal_webkit-e3a056840d61b1faad8baffd5b800be03e0e7f79.zip
external_webkit-e3a056840d61b1faad8baffd5b800be03e0e7f79.tar.gz
external_webkit-e3a056840d61b1faad8baffd5b800be03e0e7f79.tar.bz2
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
-rw-r--r--WebKit/android/WebCoreSupport/WebUrlLoaderClient.cpp6
1 files changed, 0 insertions, 6 deletions
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> 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<WebCore::ResourceRequest> resourceRequest(new WebCore::ResourceRequest(url));
m_resourceHandle->client()->willSendRequest(m_resourceHandle.get(), *resourceRequest, webResponse->createResourceResponse());