summaryrefslogtreecommitdiffstats
path: root/cc/transferable_resource.cc
diff options
context:
space:
mode:
authoraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-18 03:42:11 +0000
committeraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-18 03:42:11 +0000
commitbf189f6d9415107d901c8bc16a30ecacfa7d5f90 (patch)
treefde26f10dbf02ff53ee12eb7169e68d2c99e9088 /cc/transferable_resource.cc
parent015995065ae92efd0a310c6dba94664ddbbc3252 (diff)
downloadchromium_src-bf189f6d9415107d901c8bc16a30ecacfa7d5f90.zip
chromium_src-bf189f6d9415107d901c8bc16a30ecacfa7d5f90.tar.gz
chromium_src-bf189f6d9415107d901c8bc16a30ecacfa7d5f90.tar.bz2
Send compositor frame IPC with metadata.
This makes CompositorFrame contain one of two payloads: DelegatedFrameData for ubercomp and GLFrameData for the Aura model. This also adds CompositorFrameMetadata containing information useful for positioning subwindows relative to the webpage scroll position. The message is sent when a new switch --enable-compositor-frame-message is set. This is enabled by default on Android and also suppresses Android-specific UpdateFrameInfo messages, which will be superceded by CompositorFrameMetadata. BUG=152337,161945 Review URL: https://chromiumcodereview.appspot.com/11316128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173634 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/transferable_resource.cc')
-rw-r--r--cc/transferable_resource.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/transferable_resource.cc b/cc/transferable_resource.cc
index 39eba20..9d5eeb4 100644
--- a/cc/transferable_resource.cc
+++ b/cc/transferable_resource.cc
@@ -19,7 +19,7 @@ bool Mailbox::isZero() const {
return true;
}
-void Mailbox::setName(const GLbyte* n) {
+void Mailbox::setName(const int8* n) {
DCHECK(isZero() || !memcmp(name, n, sizeof(name)));
memcpy(name, n, sizeof(name));
}