Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 106 bool m_hasEverBeenBound; | 106 bool m_hasEverBeenBound; |
| 107 #if ENABLE(OILPAN) | 107 #if ENABLE(OILPAN) |
| 108 bool m_destructionInProgress; | 108 bool m_destructionInProgress; |
| 109 #endif | 109 #endif |
| 110 RefPtrWillBeMember<WebGLBuffer> m_boundElementArrayBuffer; | 110 RefPtrWillBeMember<WebGLBuffer> m_boundElementArrayBuffer; |
| 111 WillBeHeapVector<VertexAttribState> m_vertexAttribState; | 111 WillBeHeapVector<VertexAttribState> m_vertexAttribState; |
| 112 }; | 112 }; |
| 113 | 113 |
| 114 } // namespace blink | 114 } // namespace blink |
| 115 | 115 |
| 116 namespace WTF { | 116 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::WebGLVertexArrayObjectOES::Ver texAttribState); |
|
haraken
2015/04/22 16:16:48
This is a wrong change. As commented in the previo
| |
| 117 | |
| 118 template<> | |
| 119 struct VectorTraits<blink::WebGLVertexArrayObjectOES::VertexAttribState> : Simpl eClassVectorTraits<blink::WebGLVertexArrayObjectOES::VertexAttribState> { | |
| 120 // Must use the constructor. | |
| 121 static const bool canInitializeWithMemset = false; | |
| 122 static const bool canCopyWithMemcpy = true; | |
| 123 }; | |
| 124 | |
| 125 } // namespace WTF | |
| 126 | 117 |
| 127 #endif // WebGLVertexArrayObjectOES_h | 118 #endif // WebGLVertexArrayObjectOES_h |
| OLD | NEW |