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

Unified Diff: ui/aura/window.cc

Issue 18308004: Update CrOS to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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 | « content/renderer/media/rtc_encoding_video_capturer.cc ('k') | ui/base/x/selection_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.cc
diff --git a/ui/aura/window.cc b/ui/aura/window.cc
index 26f3929e1e2516a18c60f14684ec9b0cf700fec5..0e4c66abec0770342aad766fc81764219200bc00 100644
--- a/ui/aura/window.cc
+++ b/ui/aura/window.cc
@@ -159,7 +159,7 @@ ui::Layer* Window::RecreateLayer() {
old_layer->GetTextureMailbox(&mailbox_scale_factor);
scoped_refptr<ui::Texture> old_texture = old_layer->external_texture();
if (delegate_ && old_texture.get())
- old_layer->SetExternalTexture(delegate_->CopyTexture());
+ old_layer->SetExternalTexture(delegate_->CopyTexture().get());
layer_ = new ui::Layer(old_layer->type());
layer_owner_.reset(layer_);
« no previous file with comments | « content/renderer/media/rtc_encoding_video_capturer.cc ('k') | ui/base/x/selection_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698