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

Unified Diff: gpu/ipc/service/ca_layer_tree_mac.mm

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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
« no previous file with comments | « gpu/ipc/service/ca_layer_tree_mac.h ('k') | gpu/ipc/service/ca_layer_tree_unittest_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/ca_layer_tree_mac.mm
diff --git a/gpu/ipc/service/ca_layer_tree_mac.mm b/gpu/ipc/service/ca_layer_tree_mac.mm
index ea0efd1b9b3c5ad5c995dd0c75d494c30487df71..8acf01dd34e2b047a0060ceeb8aca5e4fac3ff40 100644
--- a/gpu/ipc/service/ca_layer_tree_mac.mm
+++ b/gpu/ipc/service/ca_layer_tree_mac.mm
@@ -143,7 +143,7 @@ bool CALayerTree::ScheduleCALayer(
}
void CALayerTree::CommitScheduledCALayers(CALayer* superlayer,
- scoped_ptr<CALayerTree> old_tree,
+ std::unique_ptr<CALayerTree> old_tree,
float scale_factor) {
TRACE_EVENT0("gpu", "CALayerTree::CommitScheduledCALayers");
RootLayer* old_root_layer = nullptr;
« no previous file with comments | « gpu/ipc/service/ca_layer_tree_mac.h ('k') | gpu/ipc/service/ca_layer_tree_unittest_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698