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

Unified Diff: Source/core/html/canvas/WebGLProgram.cpp

Issue 1115553002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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
« no previous file with comments | « Source/core/html/canvas/WebGLProgram.h ('k') | Source/core/html/canvas/WebGLQuery.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/WebGLProgram.cpp
diff --git a/Source/core/html/canvas/WebGLProgram.cpp b/Source/core/html/canvas/WebGLProgram.cpp
index b1e2263eb265653912426395c0f7908f678aa086..07845911e486e6b0940efb08ffd37e30645655ce 100644
--- a/Source/core/html/canvas/WebGLProgram.cpp
+++ b/Source/core/html/canvas/WebGLProgram.cpp
@@ -66,7 +66,7 @@ WebGLProgram::~WebGLProgram()
detachAndDeleteObject();
}
-void WebGLProgram::deleteObjectImpl(blink::WebGraphicsContext3D* context3d)
+void WebGLProgram::deleteObjectImpl(WebGraphicsContext3D* context3d)
{
context3d->deleteProgram(m_object);
m_object = 0;
@@ -168,7 +168,7 @@ bool WebGLProgram::detachShader(WebGLShader* shader)
}
}
-void WebGLProgram::cacheActiveAttribLocations(blink::WebGraphicsContext3D* context3d)
+void WebGLProgram::cacheActiveAttribLocations(WebGraphicsContext3D* context3d)
{
m_activeAttribLocations.clear();
@@ -176,7 +176,7 @@ void WebGLProgram::cacheActiveAttribLocations(blink::WebGraphicsContext3D* conte
context3d->getProgramiv(m_object, GL_ACTIVE_ATTRIBUTES, &numAttribs);
m_activeAttribLocations.resize(static_cast<size_t>(numAttribs));
for (int i = 0; i < numAttribs; ++i) {
- blink::WebGraphicsContext3D::ActiveInfo info;
+ WebGraphicsContext3D::ActiveInfo info;
context3d->getActiveAttrib(m_object, i, info);
m_activeAttribLocations[i] = context3d->getAttribLocation(m_object, info.name.utf8().data());
}
@@ -192,7 +192,7 @@ void WebGLProgram::cacheInfoIfNeeded()
if (!contextGroup())
return;
- blink::WebGraphicsContext3D* context = contextGroup()->getAWebGraphicsContext3D();
+ WebGraphicsContext3D* context = contextGroup()->getAWebGraphicsContext3D();
if (!context)
return;
GLint linkStatus = 0;
@@ -210,4 +210,4 @@ DEFINE_TRACE(WebGLProgram)
WebGLSharedPlatform3DObject::trace(visitor);
}
-}
+} // namespace blink
« no previous file with comments | « Source/core/html/canvas/WebGLProgram.h ('k') | Source/core/html/canvas/WebGLQuery.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698