~chromium-team/chromium-browser/horizon

« back to all changes in this revision

Viewing changes to debian/patches/gtk-ui-stdmove

  • Committer: Chad MILLER
  • Date: 2017-03-02 17:32:37 UTC
  • Revision ID: chad.miller@canonical.com-20170302173237-7duiswdygyuwzr6n
debian/patches/gtk-ui-stdmove: fix && pointer return with std::move

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- a/chrome/browser/ui/libgtkui/gtk_ui.cc
 
2
+++ b/chrome/browser/ui/libgtkui/gtk_ui.cc
 
3
@@ -676,7 +676,7 @@ std::unique_ptr<views::Border> GtkUi::Cr
 
4
             : nullptr);
 
5
   }
 
6
 
 
7
-  return gtk_border;
 
8
+  return std::move(gtk_border);
 
9
 }
 
10
 
 
11
 void GtkUi::AddWindowButtonOrderObserver(