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

Unified Diff: Source/core/platform/graphics/gpu/DrawingBuffer.cpp

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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/platform/graphics/gpu/DrawingBuffer.cpp
diff --git a/Source/core/platform/graphics/gpu/DrawingBuffer.cpp b/Source/core/platform/graphics/gpu/DrawingBuffer.cpp
index b85518dc98f28aefcb5dd6506347af9fba992d05..e43f99ef369361584f466ce99dff8a5a4007028f 100644
--- a/Source/core/platform/graphics/gpu/DrawingBuffer.cpp
+++ b/Source/core/platform/graphics/gpu/DrawingBuffer.cpp
@@ -144,14 +144,14 @@ void DrawingBuffer::markContentsChanged()
m_contentsChangeCommitted = false;
}
-WebKit::WebGraphicsContext3D* DrawingBuffer::context()
+blink::WebGraphicsContext3D* DrawingBuffer::context()
{
if (!m_context)
return 0;
return m_context->webContext();
}
-bool DrawingBuffer::prepareMailbox(WebKit::WebExternalTextureMailbox* outMailbox, WebKit::WebExternalBitmap* bitmap)
+bool DrawingBuffer::prepareMailbox(blink::WebExternalTextureMailbox* outMailbox, blink::WebExternalBitmap* bitmap)
{
if (!m_context || !m_contentsChanged || !m_lastColorBuffer)
return false;
@@ -220,7 +220,7 @@ bool DrawingBuffer::prepareMailbox(WebKit::WebExternalTextureMailbox* outMailbox
return true;
}
-void DrawingBuffer::mailboxReleased(const WebKit::WebExternalTextureMailbox& mailbox)
+void DrawingBuffer::mailboxReleased(const blink::WebExternalTextureMailbox& mailbox)
{
for (size_t i = 0; i < m_textureMailboxes.size(); i++) {
RefPtr<MailboxInfo> mailboxInfo = m_textureMailboxes[i];
@@ -345,13 +345,13 @@ Platform3DObject DrawingBuffer::framebuffer() const
return m_fbo;
}
-WebKit::WebLayer* DrawingBuffer::platformLayer()
+blink::WebLayer* DrawingBuffer::platformLayer()
{
if (!m_context)
return 0;
if (!m_layer) {
- m_layer = adoptPtr(WebKit::Platform::current()->compositorSupport()->createExternalTextureLayer(this));
+ m_layer = adoptPtr(blink::Platform::current()->compositorSupport()->createExternalTextureLayer(this));
m_layer->setOpaque(!m_attributes.alpha);
m_layer->setBlendBackgroundColor(m_attributes.alpha);
« no previous file with comments | « Source/core/platform/graphics/gpu/DrawingBuffer.h ('k') | Source/core/platform/graphics/gpu/DrawingBufferTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698