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

Unified Diff: webkit/common/gpu/context_provider_in_process.cc

Issue 61553006: Rename WebKit namespace to blink (part 5) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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: webkit/common/gpu/context_provider_in_process.cc
diff --git a/webkit/common/gpu/context_provider_in_process.cc b/webkit/common/gpu/context_provider_in_process.cc
index 4be7b2b5f45259320b724e4b325e81f06c4396ba..dbb4ad8aa82c61787f531aab6add00c33a3680c2 100644
--- a/webkit/common/gpu/context_provider_in_process.cc
+++ b/webkit/common/gpu/context_provider_in_process.cc
@@ -18,7 +18,7 @@ namespace webkit {
namespace gpu {
class ContextProviderInProcess::LostContextCallbackProxy
- : public WebKit::WebGraphicsContext3D::WebGraphicsContextLostCallback {
+ : public blink::WebGraphicsContext3D::WebGraphicsContextLostCallback {
public:
explicit LostContextCallbackProxy(ContextProviderInProcess* provider)
: provider_(provider) {
@@ -38,7 +38,7 @@ class ContextProviderInProcess::LostContextCallbackProxy
};
class ContextProviderInProcess::SwapBuffersCompleteCallbackProxy
- : public WebKit::WebGraphicsContext3D::
+ : public blink::WebGraphicsContext3D::
WebGraphicsSwapBuffersCompleteCallbackCHROMIUM {
public:
explicit SwapBuffersCompleteCallbackProxy(ContextProviderInProcess* provider)
@@ -70,7 +70,7 @@ scoped_refptr<ContextProviderInProcess> ContextProviderInProcess::Create(
// static
scoped_refptr<ContextProviderInProcess>
ContextProviderInProcess::CreateOffscreen() {
- WebKit::WebGraphicsContext3D::Attributes attributes;
+ blink::WebGraphicsContext3D::Attributes attributes;
attributes.depth = false;
attributes.stencil = true;
attributes.antialias = false;
@@ -133,7 +133,7 @@ ContextProviderInProcess::ContextCapabilities() {
caps.texture_format_bgra8888 = true;
caps.texture_rectangle = true;
- WebKit::WebString extensions =
+ blink::WebString extensions =
context3d_->getString(0x1F03 /* GL_EXTENSIONS */);
std::vector<std::string> extension_list;
base::SplitString(extensions.utf8(), ' ', &extension_list);
@@ -144,7 +144,7 @@ ContextProviderInProcess::ContextCapabilities() {
return caps;
}
-WebKit::WebGraphicsContext3D* ContextProviderInProcess::Context3d() {
+blink::WebGraphicsContext3D* ContextProviderInProcess::Context3d() {
DCHECK(context3d_);
DCHECK(lost_context_callback_proxy_); // Is bound to thread.
DCHECK(context_thread_checker_.CalledOnValidThread());
« no previous file with comments | « webkit/common/gpu/context_provider_in_process.h ('k') | webkit/common/gpu/grcontext_for_webgraphicscontext3d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698