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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp

Issue 2671933002: Migrate WTF::HashMap::add() to ::insert() (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp b/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp
index e4e7bcd0dad5071bcbf66284ad842fc88898342e..3363ff14a70d50784eb533e3031c25bc4ab346a7 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp
@@ -435,7 +435,7 @@ void WebGLFramebuffer::setAttachmentInternal(GLenum target,
DCHECK(m_object);
removeAttachmentInternal(target, attachment);
if (texture && texture->object()) {
- m_attachments.add(
+ m_attachments.insert(
attachment, TraceWrapperMember<WebGLAttachment>(
this, WebGLTextureAttachment::create(texture, texTarget,
level, layer)));
@@ -451,7 +451,7 @@ void WebGLFramebuffer::setAttachmentInternal(GLenum target,
DCHECK(m_object);
removeAttachmentInternal(target, attachment);
if (renderbuffer && renderbuffer->object()) {
- m_attachments.add(
+ m_attachments.insert(
attachment,
TraceWrapperMember<WebGLAttachment>(
this, WebGLRenderbufferAttachment::create(renderbuffer)));

Powered by Google App Engine
This is Rietveld 408576698