Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: Source/core/html/canvas/WebGLVertexArrayObjectOES.h

Issue 1088973006: Oilpan: Correct static_asserts about VectorTraits::canInitializeWithMemset (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/css/RuleFeature.h ('k') | Source/platform/heap/Heap.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/core/css/RuleFeature.h ('k') | Source/platform/heap/Heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698