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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/html/canvas/WebGLVertexArrayObjectOES.h
diff --git a/Source/core/html/canvas/WebGLVertexArrayObjectOES.h b/Source/core/html/canvas/WebGLVertexArrayObjectOES.h
index 65bf5255b758c9315b64d6fd0e983142b9dd4e11..7aed58802d753516a04b81bbe11d55acc2813a4d 100644
--- a/Source/core/html/canvas/WebGLVertexArrayObjectOES.h
+++ b/Source/core/html/canvas/WebGLVertexArrayObjectOES.h
@@ -113,15 +113,6 @@ private:
} // namespace blink
-namespace WTF {
-
-template<>
-struct VectorTraits<blink::WebGLVertexArrayObjectOES::VertexAttribState> : SimpleClassVectorTraits<blink::WebGLVertexArrayObjectOES::VertexAttribState> {
- // Must use the constructor.
- static const bool canInitializeWithMemset = false;
- static const bool canCopyWithMemcpy = true;
-};
-
-} // namespace WTF
+WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::WebGLVertexArrayObjectOES::VertexAttribState);
#endif // WebGLVertexArrayObjectOES_h

Powered by Google App Engine
This is Rietveld 408576698