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

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

Issue 654933004: Remove now-unnecessary VectorTraits specializations. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated to just use improved VectorTraits.h Created 6 years, 2 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
« no previous file with comments | « Source/core/events/NodeEventContext.h ('k') | Source/core/rendering/RenderGrid.cpp » ('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 RefPtrWillBeMember<WebGLBuffer> m_boundElementArrayBuffer; 106 RefPtrWillBeMember<WebGLBuffer> m_boundElementArrayBuffer;
107 WillBeHeapVector<VertexAttribState> m_vertexAttribState; 107 WillBeHeapVector<VertexAttribState> m_vertexAttribState;
108 }; 108 };
109 109
110 } // namespace blink 110 } // namespace blink
111 111
112 namespace WTF { 112 namespace WTF {
113 113
114 template<> 114 template<>
115 struct VectorTraits<blink::WebGLVertexArrayObjectOES::VertexAttribState> : Simpl eClassVectorTraits<blink::WebGLVertexArrayObjectOES::VertexAttribState> { 115 struct VectorTraits<blink::WebGLVertexArrayObjectOES::VertexAttribState> : Simpl eClassVectorTraits<blink::WebGLVertexArrayObjectOES::VertexAttribState> {
116 // Specialization needed as the VertexAttribState's struct fields
117 // aren't handled as desired by the IsPod() trait.
118 #if ENABLE(OILPAN)
119 static const bool needsDestruction = false;
120 #endif
121 // Must use the constructor. 116 // Must use the constructor.
122 static const bool canInitializeWithMemset = false; 117 static const bool canInitializeWithMemset = false;
123 static const bool canCopyWithMemcpy = true; 118 static const bool canCopyWithMemcpy = true;
124 }; 119 };
125 120
126 } // namespace WTF 121 } // namespace WTF
127 122
128 #endif // WebGLVertexArrayObjectOES_h 123 #endif // WebGLVertexArrayObjectOES_h
OLDNEW
« no previous file with comments | « Source/core/events/NodeEventContext.h ('k') | Source/core/rendering/RenderGrid.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698