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

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

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/browser_compositor_overlay_candidate_validator_android.cc
diff --git a/content/browser/compositor/browser_compositor_overlay_candidate_validator_android.cc b/content/browser/compositor/browser_compositor_overlay_candidate_validator_android.cc
index 4ed6af62ebdcdf76be220acb5a41fd49a58f15e8..e04a241550db95e20a08e73bbca8c7a0d9aec3ee 100644
--- a/content/browser/compositor/browser_compositor_overlay_candidate_validator_android.cc
+++ b/content/browser/compositor/browser_compositor_overlay_candidate_validator_android.cc
@@ -4,7 +4,9 @@
#include "content/browser/compositor/browser_compositor_overlay_candidate_validator_android.h"
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
+#include "base/memory/ptr_util.h"
#include "cc/output/overlay_processor.h"
#include "cc/output/overlay_strategy_underlay.h"
#include "ui/gfx/geometry/rect_conversions.h"
@@ -19,7 +21,8 @@ BrowserCompositorOverlayCandidateValidatorAndroid::
void BrowserCompositorOverlayCandidateValidatorAndroid::GetStrategies(
cc::OverlayProcessor::StrategyList* strategies) {
- strategies->push_back(make_scoped_ptr(new cc::OverlayStrategyUnderlay(this)));
+ strategies->push_back(
+ base::WrapUnique(new cc::OverlayStrategyUnderlay(this)));
}
void BrowserCompositorOverlayCandidateValidatorAndroid::CheckOverlaySupport(

Powered by Google App Engine
This is Rietveld 408576698