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

Unified Diff: android_webview/native/aw_contents.cc

Issue 1408123005: Android Webview IPC-based sync compositing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 2 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
« no previous file with comments | « no previous file | content/browser/android/DEPS » ('j') | content/browser/android/in_process/DEPS » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_contents.cc
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc
index e10eab626137ea1752df3bcd80a91785437f7c94..971370c74f49c22edba213ce5aa4c164a71f500f 100644
--- a/android_webview/native/aw_contents.cc
+++ b/android_webview/native/aw_contents.cc
@@ -63,7 +63,6 @@
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/web_contents.h"
-#include "content/public/common/content_switches.h"
#include "content/public/common/message_port_types.h"
#include "content/public/common/renderer_preferences.h"
#include "content/public/common/ssl_status.h"
@@ -208,12 +207,8 @@ AwContents::AwContents(scoped_ptr<WebContents> web_contents)
AwAutofillClient::FromWebContents(web_contents_.get());
if (autofill_manager_delegate)
InitAutofillIfNecessary(autofill_manager_delegate->GetSaveFormData());
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kSingleProcess)) {
- // TODO(boliu): Figure out how to deal with this more nicely.
- content::SynchronousCompositor::SetClientForWebContents(
- web_contents_.get(), &browser_view_renderer_);
- }
+ content::SynchronousCompositor::SetClientForWebContents(
+ web_contents_.get(), &browser_view_renderer_);
}
void AwContents::SetJavaPeers(JNIEnv* env,
« no previous file with comments | « no previous file | content/browser/android/DEPS » ('j') | content/browser/android/in_process/DEPS » ('J')

Powered by Google App Engine
This is Rietveld 408576698