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

Side by Side Diff: Source/core/html/canvas/WebGLFramebuffer.cpp

Issue 413463002: Oilpan: fix compilation after r178648. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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 | « no previous file | no next file » | 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) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple 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 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 ASSERT(index >= 0); 623 ASSERT(index >= 0);
624 if (index < static_cast<int>(m_drawBuffers.size())) 624 if (index < static_cast<int>(m_drawBuffers.size()))
625 return m_drawBuffers[index]; 625 return m_drawBuffers[index];
626 if (drawBuffer == GL_DRAW_BUFFER0_EXT) 626 if (drawBuffer == GL_DRAW_BUFFER0_EXT)
627 return GL_COLOR_ATTACHMENT0; 627 return GL_COLOR_ATTACHMENT0;
628 return GL_NONE; 628 return GL_NONE;
629 } 629 }
630 630
631 void WebGLFramebuffer::trace(Visitor* visitor) 631 void WebGLFramebuffer::trace(Visitor* visitor)
632 { 632 {
633 #if ENABLE(OILPAN)
633 visitor->trace(m_attachments); 634 visitor->trace(m_attachments);
635 #endif
634 WebGLContextObject::trace(visitor); 636 WebGLContextObject::trace(visitor);
635 } 637 }
636 638
637 } 639 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698