Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Unified Diff: chrome/renderer/chrome_render_thread_observer.cc

Issue 1958543002: requestAutocomplete: remove from web platform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Document-createEvent-expected.txt Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/chrome_render_thread_observer.cc
diff --git a/chrome/renderer/chrome_render_thread_observer.cc b/chrome/renderer/chrome_render_thread_observer.cc
index aedcebff9754b6624018b5c855126652a6520092..272b27fd83c9a3dd5d5c90d227dcbc895ecadefa 100644
--- a/chrome/renderer/chrome_render_thread_observer.cc
+++ b/chrome/renderer/chrome_render_thread_observer.cc
@@ -51,7 +51,6 @@
#include "third_party/WebKit/public/web/WebCache.h"
#include "third_party/WebKit/public/web/WebDocument.h"
#include "third_party/WebKit/public/web/WebFrame.h"
-#include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
#include "third_party/WebKit/public/web/WebSecurityPolicy.h"
#include "third_party/WebKit/public/web/WebView.h"
@@ -60,7 +59,6 @@
#endif
using blink::WebCache;
-using blink::WebRuntimeFeatures;
using blink::WebSecurityPolicy;
using blink::WebString;
using content::RenderThread;
@@ -244,10 +242,6 @@ ChromeRenderThreadObserver::ChromeRenderThreadObserver()
const base::CommandLine& command_line =
*base::CommandLine::ForCurrentProcess();
-#if defined(ENABLE_AUTOFILL_DIALOG)
- WebRuntimeFeatures::enableRequestAutocomplete(true);
-#endif
-
RenderThread* thread = RenderThread::Get();
resource_delegate_.reset(new RendererResourceDelegate());
thread->SetResourceDispatcherDelegate(resource_delegate_.get());

Powered by Google App Engine
This is Rietveld 408576698