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

Unified Diff: content/browser/web_contents/web_contents_android.h

Issue 2487713002: Resolves layering violation in SynchronousCompositorHost creation (Closed)
Patch Set: checking synchronous_compositor_client_ Created 4 years, 1 month 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: content/browser/web_contents/web_contents_android.h
diff --git a/content/browser/web_contents/web_contents_android.h b/content/browser/web_contents/web_contents_android.h
index 925adfc527345af148b7963d8b3ffe6dbf709ec3..61f6f711b6912fdfd933b430f50173601ba78e0e 100644
--- a/content/browser/web_contents/web_contents_android.h
+++ b/content/browser/web_contents/web_contents_android.h
@@ -21,7 +21,6 @@
namespace content {
-class SynchronousCompositorClient;
class WebContentsImpl;
// Android wrapper around WebContents that provides safer passage from java and
@@ -175,13 +174,6 @@ class CONTENT_EXPORT WebContentsAndroid
void ReloadLoFiImages(JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj);
- void set_synchronous_compositor_client(SynchronousCompositorClient* client) {
- synchronous_compositor_client_ = client;
- }
- SynchronousCompositorClient* synchronous_compositor_client() const {
- return synchronous_compositor_client_;
- }
-
int DownloadImage(JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj,
const base::android::JavaParamRef<jstring>& url,
@@ -214,7 +206,6 @@ class CONTENT_EXPORT WebContentsAndroid
WebContentsImpl* web_contents_;
NavigationControllerAndroid navigation_controller_;
base::android::ScopedJavaGlobalRef<jobject> obj_;
- SynchronousCompositorClient* synchronous_compositor_client_;
base::WeakPtrFactory<WebContentsAndroid> weak_factory_;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.cc ('k') | content/browser/web_contents/web_contents_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698