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

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

Issue 426863003: Clean up remaining uses of WebCore namespace (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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
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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 VaoType m_type; 99 VaoType m_type;
100 bool m_hasEverBeenBound; 100 bool m_hasEverBeenBound;
101 RefPtrWillBeMember<WebGLBuffer> m_boundElementArrayBuffer; 101 RefPtrWillBeMember<WebGLBuffer> m_boundElementArrayBuffer;
102 WillBeHeapVector<VertexAttribState> m_vertexAttribState; 102 WillBeHeapVector<VertexAttribState> m_vertexAttribState;
103 }; 103 };
104 104
105 } // namespace blink 105 } // namespace blink
106 106
107 namespace WTF { 107 namespace WTF {
108 template<> 108 template<>
109 struct VectorTraits<WebCore::WebGLVertexArrayObjectOES::VertexAttribState> : Sim pleClassVectorTraits<WebCore::WebGLVertexArrayObjectOES::VertexAttribState> { 109 struct VectorTraits<blink::WebGLVertexArrayObjectOES::VertexAttribState> : Simpl eClassVectorTraits<blink::WebGLVertexArrayObjectOES::VertexAttribState> {
110 // Specialization needed as the VertexAttribState's struct fields 110 // Specialization needed as the VertexAttribState's struct fields
111 // aren't handled as desired by the IsPod() trait. 111 // aren't handled as desired by the IsPod() trait.
112 #if ENABLE(OILPAN) 112 #if ENABLE(OILPAN)
113 static const bool needsDestruction = false; 113 static const bool needsDestruction = false;
114 #endif 114 #endif
115 // Must use the constructor. 115 // Must use the constructor.
116 static const bool canInitializeWithMemset = false; 116 static const bool canInitializeWithMemset = false;
117 static const bool canCopyWithMemcpy = true; 117 static const bool canCopyWithMemcpy = true;
118 }; 118 };
119 } 119 }
120 120
121 #endif // WebGLVertexArrayObjectOES_h 121 #endif // WebGLVertexArrayObjectOES_h
OLDNEW
« no previous file with comments | « Source/core/html/canvas/WebGLRenderingContextBase.h ('k') | Source/modules/geolocation/GeolocationWatchers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698