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

Unified Diff: content/browser/compositor/gpu_process_transport_factory.cc

Issue 1875463002: Remove unused fields from //content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scythe-root
Patch Set: Fixed Ozone build. Created 4 years, 8 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: content/browser/compositor/gpu_process_transport_factory.cc
diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc
index 14718e5bb3aa0b4d96513cb157839682ccc74be9..8a6c00a1b119f5f0e5da931a32e8beaba6d86edd 100644
--- a/content/browser/compositor/gpu_process_transport_factory.cc
+++ b/content/browser/compositor/gpu_process_transport_factory.cc
@@ -168,12 +168,12 @@ CreateOverlayCandidateValidator(gfx::AcceleratedWidget widget) {
(command_line->HasSwitch(switches::kEnableHardwareOverlays) ||
command_line->HasSwitch(switches::kOzoneTestSingleOverlaySupport))) {
validator.reset(new BrowserCompositorOverlayCandidateValidatorOzone(
- widget, std::move(overlay_candidates)));
+ std::move(overlay_candidates)));
}
#elif defined(OS_MACOSX)
// Overlays are only supported through the remote layer API.
if (ui::RemoteLayerAPISupported()) {
- validator.reset(new BrowserCompositorOverlayCandidateValidatorMac(widget));
+ validator.reset(new BrowserCompositorOverlayCandidateValidatorMac());
}
#elif defined(OS_ANDROID)
validator.reset(new BrowserCompositorOverlayCandidateValidatorAndroid());

Powered by Google App Engine
This is Rietveld 408576698