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

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

Issue 1157793004: ozone: Add overlay candidate implementation that queries support via IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix leak, other comments Created 5 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: content/browser/compositor/browser_compositor_overlay_candidate_validator_ozone.cc
diff --git a/content/browser/compositor/browser_compositor_overlay_candidate_validator_ozone.cc b/content/browser/compositor/browser_compositor_overlay_candidate_validator_ozone.cc
index a646ac97be4f374eb55104c75f58dcd18499fa44..7a3c70d079162c9b4e7abf965827818e38ac6694 100644
--- a/content/browser/compositor/browser_compositor_overlay_candidate_validator_ozone.cc
+++ b/content/browser/compositor/browser_compositor_overlay_candidate_validator_ozone.cc
@@ -30,9 +30,9 @@ static ui::SurfaceFactoryOzone::BufferFormat GetOzoneFormat(
BrowserCompositorOverlayCandidateValidatorOzone::
BrowserCompositorOverlayCandidateValidatorOzone(
gfx::AcceleratedWidget widget,
- ui::OverlayCandidatesOzone* overlay_candidates)
+ scoped_ptr<ui::OverlayCandidatesOzone> overlay_candidates)
: widget_(widget),
- overlay_candidates_(overlay_candidates),
+ overlay_candidates_(overlay_candidates.Pass()),
software_mirror_active_(false) {
}

Powered by Google App Engine
This is Rietveld 408576698