summaryrefslogtreecommitdiffstats
path: root/cc/test
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-15 00:23:26 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-15 00:23:26 +0000
commite0a4d737b5a2e1efb828e371f905aced30ea7904 (patch)
treeda9e4310d08c09539901260385249bbf0595418b /cc/test
parentbed35e9b0ff888aae4af54cfbcaac19905ef09ec (diff)
downloadchromium_src-e0a4d737b5a2e1efb828e371f905aced30ea7904.zip
chromium_src-e0a4d737b5a2e1efb828e371f905aced30ea7904.tar.gz
chromium_src-e0a4d737b5a2e1efb828e371f905aced30ea7904.tar.bz2
Fix (or tag) uses of explicit '64' instead of GL_MAILBOX_SIZE_CHROMIUM
That way we can easily change the size later. Security says 64 may be overkill. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251306 R=danakj@chromium.org Review URL: https://codereview.chromium.org/138763009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251453 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test')
-rw-r--r--cc/test/test_web_graphics_context_3d.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/test/test_web_graphics_context_3d.cc b/cc/test/test_web_graphics_context_3d.cc
index 6394b61..27a7b4c 100644
--- a/cc/test/test_web_graphics_context_3d.cc
+++ b/cc/test/test_web_graphics_context_3d.cc
@@ -436,7 +436,7 @@ void TestWebGraphicsContext3D::genMailboxCHROMIUM(GLbyte* mailbox) {
--times_gen_mailbox_succeeds_;
}
if (context_lost_) {
- memset(mailbox, 0, 64);
+ memset(mailbox, 0, GL_MAILBOX_SIZE_CHROMIUM);
return;
}