libchromeos: replace scoped_ptr_malloc with scoped_ptr

scoped_ptr_malloc<T, D> has been deprecated and will be removed. This CL
updates libchromeos to use the equivalent scoped_ptr<T, D> instead.

BUG=chromium:366763
TEST=`FEATURES=test emerge-$BOARD platform2`

Change-Id: Ica30d8ef67fd024f562099c625274e747ae8f18f
Reviewed-on: https://chromium-review.googlesource.com/196957
Tested-by: Ben Chan <benchan@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
diff --git a/chromeos/glib/object.h b/chromeos/glib/object.h
index d0952be..17e0a16 100644
--- a/chromeos/glib/object.h
+++ b/chromeos/glib/object.h
@@ -309,7 +309,7 @@
   }
 };
 
-typedef ::scoped_ptr_malloc< ::GError, FreeError> ScopedError;
+typedef ::scoped_ptr< ::GError, FreeError> ScopedError;
 
 // \brief ScopedArray holds a ::GArray* and deletes both the container and the
 // segment containing the elements on destruction.
@@ -321,7 +321,7 @@
   }
 };
 
-typedef ::scoped_ptr_malloc< ::GArray, FreeArray> ScopedArray;
+typedef ::scoped_ptr< ::GArray, FreeArray> ScopedArray;
 
 // \brief ScopedPtrArray adapts ::GPtrArray* to conform to the standard
 //  container requirements.