Bug 1249389 - followup - fix compilation bustage in gfxFT2FontList.cpp; r=me
authorNathan Froyd <froydnj@mozilla.com>
Wed, 24 Feb 2016 15:48:35 -0500
changeset 321791 5a1a5726b179155823013cd617738540753eb4de
parent 321790 3d625cdac1382caf11bb3118585ddc2ad199fe5c
child 321792 d8da9bc56468f58be505e61e72e78bff1d2b4b61
push id5913
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 16:57:49 +0000
treeherdermozilla-beta@dcaf0a6fa115 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1249389
milestone47.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1249389 - followup - fix compilation bustage in gfxFT2FontList.cpp; r=me
gfx/thebes/gfxFT2FontList.cpp
--- a/gfx/thebes/gfxFT2FontList.cpp
+++ b/gfx/thebes/gfxFT2FontList.cpp
@@ -667,19 +667,19 @@ public:
             return;
         }
         uint32_t size;
         UniquePtr<char[]> buf;
         if (NS_FAILED(mCache->GetBuffer(CACHE_KEY, &buf, &size))) {
             return;
         }
 
-        LOG(("got: %s from the cache", nsDependentCString(buf, size).get()));
+        LOG(("got: %s from the cache", nsDependentCString(buf.get(), size).get()));
 
-        const char* beginning = buf;
+        const char* beginning = buf.get();
         const char* end = strchr(beginning, ';');
         while (end) {
             nsCString filename(beginning, end - beginning);
             beginning = end + 1;
             if (!(end = strchr(beginning, ';'))) {
                 break;
             }
             nsCString faceList(beginning, end - beginning);