| Index: printing/metafile.h
|
| diff --git a/printing/metafile.h b/printing/metafile.h
|
| index e93ffd10f60fd7b1e2435903448484f49e09edf5..e20e88e99d34c1d2017e36e099144f99b68c8fb3 100644
|
| --- a/printing/metafile.h
|
| +++ b/printing/metafile.h
|
| @@ -86,6 +86,10 @@ class PRINTING_EXPORT MetafilePlayer {
|
| const MacRenderPageParams& params) const = 0;
|
| #endif // if defined(OS_WIN)
|
|
|
| + // Populates the buffer with the underlying data. This function should ONLY be
|
| + // called after the metafile is closed. Returns true if writing succeeded.
|
| + virtual bool GetDataAsVector(std::vector<char>* buffer) const = 0;
|
| +
|
| // Saves the underlying data to the given file. This function should ONLY be
|
| // called after the metafile is closed. Returns true if writing succeeded.
|
| virtual bool SaveTo(base::File* file) const = 0;
|
| @@ -155,7 +159,7 @@ class PRINTING_EXPORT Metafile : public MetafilePlayer {
|
| const RECT* rect) const = 0;
|
| #endif // OS_WIN
|
|
|
| - bool GetDataAsVector(std::vector<char>* buffer) const;
|
| + bool GetDataAsVector(std::vector<char>* buffer) const override;
|
|
|
| bool SaveTo(base::File* file) const override;
|
|
|
|
|