Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5184)

Unified Diff: chrome/common/ipc_message_utils.cc

Issue 99219: Adding ifdef to remove Skia dependency in IPC code for testing. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extra_defines.vsprops ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « chrome/common/extra_defines.vsprops ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698