Commit abfcb534 authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa Committed by Commit Bot

ppapi_fontconfig_matching: Include <memory> for std::unique_ptr

IWYU. This fixes the libstdc++ build after commit a1092aed ("Fix leak in
FontService PPAPI fallback function"):

../../components/services/font/ppapi_fontconfig_matching.cc:130:8: error: no member named 'unique_ptr' in namespace 'std'
  std::unique_ptr<FcLangSet, decltype(&FcLangSetDestroy)> langset(
    ~~~~~^

Bug: 957519
Change-Id: Ia1425d5b7046ebeb8d7351a184a9cc119bf9d8ed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1605689
Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Commit-Queue: Dominik Röttsches <drott@chromium.org>
Reviewed-by: default avatarDominik Röttsches <drott@chromium.org>
Cr-Commit-Position: refs/heads/master@{#658526}
parent ca9704e4
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <memory>
#include <string> #include <string>
#include "base/posix/eintr_wrapper.h" #include "base/posix/eintr_wrapper.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment