diff options
author | d.samantaray <d.samantaray@samsung.com> | 2015-05-21 22:51:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-22 05:52:04 +0000 |
commit | 8022c2fcb6edd10c1f38b8962ec398bc853bb4ae (patch) | |
tree | c30c17fa86261cd8ea08a4822321dce9942b6c54 /ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc | |
parent | f1242e526088837d9cac99bce9fbf1e9de47423f (diff) | |
download | chromium_src-8022c2fcb6edd10c1f38b8962ec398bc853bb4ae.zip chromium_src-8022c2fcb6edd10c1f38b8962ec398bc853bb4ae.tar.gz chromium_src-8022c2fcb6edd10c1f38b8962ec398bc853bb4ae.tar.bz2 |
Substitued pattern push_back(ptr.release()) with push_back(ptr.Pass()) in directory.
src/ui/app_list, ui/ozone,ui/message_center
BUG=457697
Review URL: https://codereview.chromium.org/1123373007
Cr-Commit-Position: refs/heads/master@{#331069}
Diffstat (limited to 'ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc')
-rw-r--r-- | ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc b/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc index d64b8a5..bd50d55 100644 --- a/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc +++ b/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc @@ -109,7 +109,7 @@ bool HardwareDisplayPlaneManager::Initialize(DrmDevice* drm) { scoped_ptr<HardwareDisplayPlane> plane( CreatePlane(drm_plane->plane_id, drm_plane->possible_crtcs)); if (plane->Initialize(drm)) - planes_.push_back(plane.release()); + planes_.push_back(plane.Pass()); } // crbug.com/464085: if driver reports no primary planes for a crtc, create a @@ -123,7 +123,7 @@ bool HardwareDisplayPlaneManager::Initialize(DrmDevice* drm) { CreatePlane(resources->crtcs[i] - 1, (1 << i))); dummy_plane->set_is_dummy(true); if (dummy_plane->Initialize(drm)) - planes_.push_back(dummy_plane.release()); + planes_.push_back(dummy_plane.Pass()); } } } |