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

Unified Diff: content/browser/android/synchronous_compositor_host.h

Issue 2487713002: Resolves layering violation in SynchronousCompositorHost creation (Closed)
Patch Set: fixing tests 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/android/synchronous_compositor_host.h
diff --git a/content/browser/android/synchronous_compositor_host.h b/content/browser/android/synchronous_compositor_host.h
index 0260083d1f680d1ef6c8034b137baafe92d32657..9d232c5c6524fc92606bc8589056f00daf2aa94e 100644
--- a/content/browser/android/synchronous_compositor_host.h
+++ b/content/browser/android/synchronous_compositor_host.h
@@ -41,8 +41,7 @@ struct SyncCompositorCommonRendererParams;
class SynchronousCompositorHost : public SynchronousCompositor {
public:
static std::unique_ptr<SynchronousCompositorHost> Create(
- RenderWidgetHostViewAndroid* rwhva,
- WebContents* web_contents);
+ RenderWidgetHostViewAndroid* rwhva);
~SynchronousCompositorHost() override;
@@ -82,7 +81,6 @@ class SynchronousCompositorHost : public SynchronousCompositor {
friend class SynchronousCompositorBase;
SynchronousCompositorHost(RenderWidgetHostViewAndroid* rwhva,
- SynchronousCompositorClient* client,
bool use_in_proc_software_draw);
void CompositorFrameSinkCreated();
bool DemandDrawSwInProc(SkCanvas* canvas);

Powered by Google App Engine
This is Rietveld 408576698