| Index: cc/test/test_web_graphics_context_3d.cc
|
| diff --git a/cc/test/test_web_graphics_context_3d.cc b/cc/test/test_web_graphics_context_3d.cc
|
| index 0663f77481c239ca50cb8ae7ced0eca7c973e9da..462f603e8d500d77a52cdcc655901cc68b40fe08 100644
|
| --- a/cc/test/test_web_graphics_context_3d.cc
|
| +++ b/cc/test/test_web_graphics_context_3d.cc
|
| @@ -295,6 +295,19 @@ void TestWebGraphicsContext3D::getQueryObjectuivEXT(
|
| *params = 1;
|
| }
|
|
|
| +
|
| +void TestWebGraphicsContext3D::genMailboxCHROMIUM(WebKit::WGC3Dbyte* mailbox) {
|
| + static char mailbox_name1 = '1';
|
| + static char mailbox_name2 = '1';
|
| + mailbox[0] = mailbox_name1;
|
| + mailbox[1] = mailbox_name2;
|
| + mailbox[2] = '\0';
|
| + if (++mailbox_name1 == 0) {
|
| + mailbox_name1 = '1';
|
| + ++mailbox_name2;
|
| + }
|
| +}
|
| +
|
| void TestWebGraphicsContext3D::setContextLostCallback(
|
| WebGraphicsContextLostCallback* callback) {
|
| context_lost_callback_ = callback;
|
|
|