Index: chrome/common/ipc_message_utils.cc |
=================================================================== |
--- chrome/common/ipc_message_utils.cc (revision 14841) |
+++ chrome/common/ipc_message_utils.cc (working copy) |
@@ -6,11 +6,15 @@ |
#include "base/gfx/rect.h" |
#include "googleurl/src/gurl.h" |
+#ifndef EXCLUDE_SKIA_DEPENDENCIES |
#include "SkBitmap.h" |
+#endif |
#include "webkit/glue/dom_operations.h" |
namespace IPC { |
+#ifndef EXCLUDE_SKIA_DEPENDENCIES |
+ |
namespace { |
struct SkBitmap_Data { |
@@ -90,6 +94,7 @@ |
l->append(StringPrintf(L"<SkBitmap>")); |
} |
+#endif // EXCLUDE_SKIA_DEPENDENCIES |
void ParamTraits<GURL>::Write(Message* m, const GURL& p) { |
m->WriteString(p.possibly_invalid_spec()); |
@@ -110,7 +115,6 @@ |
l->append(UTF8ToWide(p.spec())); |
} |
- |
void ParamTraits<gfx::Point>::Write(Message* m, const gfx::Point& p) { |
m->WriteInt(p.x()); |
m->WriteInt(p.y()); |