summaryrefslogtreecommitdiffstats
path: root/cc/gl_frame_data.h
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-04 22:46:03 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-04 22:46:03 +0000
commit1aca0098c408047b8ddedfc306e8b8163b7b4ec2 (patch)
tree34e3cc762575da0f6a0243642a3a8d1dc3dc6773 /cc/gl_frame_data.h
parent35fb693d6565cf0435a11d238df29b62c5668315 (diff)
downloadchromium_src-1aca0098c408047b8ddedfc306e8b8163b7b4ec2.zip
chromium_src-1aca0098c408047b8ddedfc306e8b8163b7b4ec2.tar.gz
chromium_src-1aca0098c408047b8ddedfc306e8b8163b7b4ec2.tar.bz2
Move Mailbox from cc to gpu, and its traits to gpu/ipc
Mailbox is safer to IPC than coaxing it into a string, because otherwise we need to validate the size when coming from untrusted sources. This is to enable passing Mailbox through IPC without having to depend on cc. Among others I will need it to move Pepper to mailboxes, and pepper can't depend on cc. BUG=164095 Review URL: https://chromiumcodereview.appspot.com/12378053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186006 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/gl_frame_data.h')
-rw-r--r--cc/gl_frame_data.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/gl_frame_data.h b/cc/gl_frame_data.h
index 8d281e9..0951c28 100644
--- a/cc/gl_frame_data.h
+++ b/cc/gl_frame_data.h
@@ -9,7 +9,7 @@
#include "base/basictypes.h"
#include "cc/cc_export.h"
-#include "cc/transferable_resource.h"
+#include "gpu/command_buffer/common/mailbox.h"
#include "ui/gfx/size.h"
namespace cc {
@@ -19,7 +19,7 @@ class CC_EXPORT GLFrameData {
GLFrameData();
~GLFrameData();
- Mailbox mailbox;
+ gpu::Mailbox mailbox;
uint32 sync_point;
gfx::Size size;
};