summaryrefslogtreecommitdiffstats
path: root/printing
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-17 18:38:24 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-17 18:38:24 +0000
commit7a4de7a6cefa6c56d42e6abe17f815b048269354 (patch)
treeee80ec60dfb6853c323238e714cc970297ee70ab /printing
parent17e5f7d53a09582719e9e0a942643463944fb749 (diff)
downloadchromium_src-7a4de7a6cefa6c56d42e6abe17f815b048269354.zip
chromium_src-7a4de7a6cefa6c56d42e6abe17f815b048269354.tar.gz
chromium_src-7a4de7a6cefa6c56d42e6abe17f815b048269354.tar.bz2
Reapplies all the IPC system work (reverts the revert r56272).
That patch wasn't what caused the regression in the page cycler. BUG=51411,52103 TEST=still compiles Review URL: http://codereview.chromium.org/3106018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56390 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing')
-rw-r--r--printing/pdf_ps_metafile_cairo.cc5
-rw-r--r--printing/pdf_ps_metafile_cairo.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/printing/pdf_ps_metafile_cairo.cc b/printing/pdf_ps_metafile_cairo.cc
index 47f4c14..798ee16 100644
--- a/printing/pdf_ps_metafile_cairo.cc
+++ b/printing/pdf_ps_metafile_cairo.cc
@@ -70,6 +70,11 @@ void DestroyContextData(void* data) {
namespace printing {
+PdfPsMetafile::PdfPsMetafile()
+ : format_(PDF),
+ surface_(NULL), context_(NULL) {
+}
+
PdfPsMetafile::PdfPsMetafile(const FileFormat& format)
: format_(format),
surface_(NULL), context_(NULL) {
diff --git a/printing/pdf_ps_metafile_cairo.h b/printing/pdf_ps_metafile_cairo.h
index 7a7b470..e56b64c 100644
--- a/printing/pdf_ps_metafile_cairo.h
+++ b/printing/pdf_ps_metafile_cairo.h
@@ -29,6 +29,8 @@ class PdfPsMetafile {
PS,
};
+ PdfPsMetafile();
+
// In the renderer process, callers should also call Init(void) to see if the
// metafile can obtain all necessary rendering resources.
// In the browser process, callers should also call Init(const void*, uint32)