Index: printing/native_metafile_factory.h |
diff --git a/printing/native_metafile_factory.h b/printing/native_metafile_factory.h |
index b13f17a4708efb5b0359f2e95faecc9a1459157a..30c17823cbe50811e81c2425f6a3fe03d8aa7458 100644 |
--- a/printing/native_metafile_factory.h |
+++ b/printing/native_metafile_factory.h |
@@ -17,9 +17,16 @@ namespace printing { |
class NativeMetafileFactory { |
public: |
// This method returns a pointer to the appropriate NativeMetafile object |
- // according to the platform. |
+ // according to the platform. The metafile is already initialized by invoking |
+ // Init() on it. |
vandebo (ex-Chrome)
2011/03/24 20:11:55
Null is returned if Init() fails.
dpapad
2011/03/24 21:08:14
Done.
|
static printing::NativeMetafile* Create(); |
+ // This method returns a pointer to the appropriate NativeMetafile object |
+ // according to the platform. The metafile is already initialized by invoking |
+ // Init(src_buffer,_buffer_size) on it. |
vandebo (ex-Chrome)
2011/03/24 20:11:55
InitFromData & above too.
dpapad
2011/03/24 21:08:14
Done.
|
+ static printing::NativeMetafile* CreateFromData(const void* src_buffer, |
+ uint32 src_buffer_size); |
+ |
private: |
NativeMetafileFactory(); |
DISALLOW_COPY_AND_ASSIGN(NativeMetafileFactory); |