summaryrefslogtreecommitdiffstats
path: root/printing
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-09 16:06:58 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-09 16:06:58 +0000
commit071b4b94196fafbf3557771d41db81fa9a7d0ba7 (patch)
tree6c55110df8cdb9a592e6b79ce3a0bab833dad2bd /printing
parentc9f28a7d16b71b17185b456e3b53e4e638d005d0 (diff)
downloadchromium_src-071b4b94196fafbf3557771d41db81fa9a7d0ba7.zip
chromium_src-071b4b94196fafbf3557771d41db81fa9a7d0ba7.tar.gz
chromium_src-071b4b94196fafbf3557771d41db81fa9a7d0ba7.tar.bz2
Revert 55259 - FBTF: New IPC definitions, only applied to async ROUTED and CONTROL messages.
The slowest cc files in chrome include render_messages.h and other IPC message definitions. Including one of these files will bring in half of chrome because in the IPC system previously required full class definitions due to implementation details. The new system allows forward declarations and places the implementations of functions that need the full class definitions (ctor/dtor()/Log() and superclass ctor/Read() methods) into a separate xxx_messages.cc file using a parallel set of macros to ipc_message_macros.h. This has the added benefit of moving most of the template instantiation junk into a small number of files. Pros: - Will speed up compiling by a lot once everything is forward declared. - Already, intermediary .o/.a files are smaller. Cons: - Adds a 4th pass to the messages system, this time in a different header. BUG=51411 TEST=none Review URL: http://codereview.chromium.org/2873090 TBR=erg@google.com Review URL: http://codereview.chromium.org/3080040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55406 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, 0 insertions, 7 deletions
diff --git a/printing/pdf_ps_metafile_cairo.cc b/printing/pdf_ps_metafile_cairo.cc
index 798ee16..47f4c14 100644
--- a/printing/pdf_ps_metafile_cairo.cc
+++ b/printing/pdf_ps_metafile_cairo.cc
@@ -70,11 +70,6 @@ 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 e56b64c..7a7b470 100644
--- a/printing/pdf_ps_metafile_cairo.h
+++ b/printing/pdf_ps_metafile_cairo.h
@@ -29,8 +29,6 @@ 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)